Machine Learning is very much in vogue at the moment and there are many Android folks producing some excellent guides to creating and training models. However, I do not feel that in the vast majority of cases Android Developers will be required to train their own models. But that does not mean that using a model that someone else has created is a straightforward task. In this series, we’ll take a look at some of the problems and pain points that I encountered while attempting to incorporate a pre-trained TensorFlow Lite model in to an Android app.
Android architecture evolves as all of our technical skills do. After a couple of years as Android Developer I found a good architecture for potentially big projects. This by the way is the most important thing to consider: No architecture is good for every use case.
Let’s take advantage of Kotlin to accomplish something that’s impossible to do with plain Java. The solution will be used to perform loop. This is intended to stretch our minds to new ways of thinking which aren’t possible in Java. It shouldn’t be used in production as premature optimization is evil, reduces maintainability, and the JVM is already good at micro-optimizations… Ok, back to business.
developer.android.com provides a very good and descriptive explanation as to how can one add accessibility hooks onto a custom view, my only complaint (and many others’ complaint) is the elaborative length of the same. So here basically instead of explaining it all the same, I will be giving out key highlight points from the documentation provided here.
We’re happy to announce the release of Kotlin 1.2.70, a new bugfix and tooling update for Kotlin 1.2. This release includes significantly improves incremental compilation for Kotlin/JS. Marks a number of kotlin-stdlib-common annotations with @OptionalExpectation. Contains native binaries built with Excelsior JET for the standalone Kotlin compiler. Adds new refactorings, inspections, and intentions to the IntelliJ IDEA plugin. Fixes a lot of known issues in the compiler and the IDE plugin and provides performance improvements