ActionViews or how I do not like boilerplate from the very childhood

Hello, Habr! In this article, I want to share my experience creating my mechanism for automating the display of various View types: ContentView, LoadingView, NoInternetView, EmptyContentView, ErrorView.
 
ActionViews or how I do not like boilerplate from the very childhood
 
 
It was a long journey. The path of trial and error, a search of methods and options, sleepless nights and an invaluable experience that I want to share, and hear criticism that I will definitely take into account.
 
I will say at once that I will consider working on RxJava, since for coroutines I did not do such a mechanism - my hands did not reach. And for other similar tools (Loaders, AsyncTask, and ...
+ 0 -

My history of creating a motivational application (iOS and Android) for a daughter with a daughter on Unity and C #

My history of creating a motivational application (iOS and Android) for a daughter with a daughter on Unity and C #
 
This is the first part of the story (mixed with the story of my mistakes and solutions) about how I (somewhere two years in my spare time) developed a mobile application for iOS and Android that would motivate my daughter to solve math examples so that she has reached the automatism in the basics of arithmetic (a number 10 warehouse or a multiplication table). As a result, an application has been obtained that allows the child to earn money with his mind.
 
I used Unity engine and C # language, as well as an additional set of software like mandatory Photohsop or Audacity (for creating sounds).
 
[h3] ...[/h]
+ 0 -

Parsing and working with Codable in Swift 4

Parsing and working with Codable in Swift 4  
 
The JSON format has become very popular, it is usually used to transfer data and execute queries in client-server applications. JSON parsing requires encoding /decoding tools of this format, and Apple recently upgraded them. In this article, we'll look at JSON parsing methods using the protocol. Decodable , let's compare the new protocol Codable with the predecessor NSCoding , we will evaluate the advantages and disadvantages, we will analyze everything with concrete examples, and also consider some features that are encountered in the implementation of protocols.
 
 
 
What is ...
+ 0 -

Kivy. From creation to production, one step. Part 2

Kivy. From creation to production, one step. Part 2
 
Greetings!
 
Today, as always, let's talk about creating mobile applications with the framework Kivy and Python. In particular, it will be a question of creating a mobile client for one Internet resource and publishing it on Google Play. I'll tell you what problems a novice and experienced developer may encounter, who decided to try themselves in a cross-platform development with Kivy, what can and should not be done in programming with Python for Android. svyatye.com in a mobile application, so that people can read and use it offline », followed by the publication of the client in the Google ...
+ 0 -

Digest of interesting materials for mobile developer # 256 (June 3-12)

This time, it turned out to be quite a short release, and in it the epic Tower Defense, animated transitions, a platform for developers from Snapchat, a sudden psychology in IT from the creator of Kotlin and much more.
 
 
Digest of interesting materials for mobile developer # 256 (June 3-12)
 
 
 
 

 

Creating a game of Tower Defense in Unity


 
 
The games of the tower defense genre are gaining popularity, and it's no wonder - little can compare with the pleasure of watching their own lines of defense that destroy evil enemies! In this tutorial of two parts, we will create a tower defense game on the Unity engine!
 
 

 
[h3] ...[/h][/h]
+ 0 -

Realization of work with Long Poll server in VKontakte client for Sailfish OS

Introduction


 
Unfortunately, even now, in the modern world, it is not always possible to take advantage of all the benefits of technology push and sometimes you have to implement workarounds, for example, in the form of Long Poll, which allows you to emulate the mechanism of push notifications. In particular, this need arose in the implementation of client VKontakte for Sailfish OS .
 
 
This article will not consider the principles of interaction with Long Poll VK server - it has a very detailed Documentation , and the basic ...[/h]
+ -1 -

Digest of interesting materials for mobile developer # 255 (June 4 - June 12)

In the new digest, we discuss the past WWDC and its novelties, ask Avito questions, select the color scheme for the application, select the attribution. Congratulations!
 
 
Digest of interesting materials for mobile developer # 255 (June 4 - June 12)
 
 
 
 

 

We disassemble the iOS-application Avito: Ask Me Anything


 
 
We continue the good tradition. This time it's about developing under iOS in general and about the features of Avito's application in particular.
 
 

 

New survey of Developer Economics


 
 
The survey will ask questions about ...[/h][/h]
+ 0 -

What it was and how: the impressions of the Redmadrobot team from WWDC

Robot developers continue to wire from San Jose. And if everyone knows about the technical news of WWDC - yes, we about it wrote , this time mc_murphy vani2 bealex talk about the experience that the conference participants receive, and other issues that usually remain behind the scenes.
 
 
What it was and how: the impressions of the Redmadrobot team from WWDC
 
twitter.com/stroughtonsmith filled with information. He has already picked everything up and described how you can write UIKit-applications for macOS yourself...
+ 0 -

IT School Samsung: students develop mobile applications

Today is our post about mobile applications of IT graduates IT SCHOOLSMSUNG. Let's start with a brief reference about IT SCHOOL (for details of welcome, please contact our website and /or ask questions in the comments). In the second part, let's talk about the best, in our opinion, Android-applications that were created by schoolchildren of grades 6-11!
 
 
IT School Samsung: students develop mobile applications  
additional points for admission for the certificate of the graduate IT SCHOOLSMSUNG and the diploma of the winner of the contest "IT SCHOOL chooses the strongest!".
 
 
The program has many awards from the business community, including the ...
+ 0 -