This Weeks Links
How to Create a Bubble Selection Animation on Android
Inspired by the selection bubbles in Apple music, Irina Galata and Yulia Serbenenko set out to create something similar for Android. In this post, they share some of the challenges they faced and will step you through how they created this UI.
Clean Your Activity Using Delegation Pattern
In this post, Ihor Kucherenko shares a Delegation Activity Template project based on MVP, which is aims to solve the problem of boilerplate code polluting the Activity when adding a Navigation Drawer.
Continuous Integration on Android
Coltin Caverhill divulges Yelp’s setup for automatically building their commit and running static analysis and tests on it using CI. In this post, you will be walked through what you will need to create a setup like theirs.
One RecyclerView to rule them all
Frustrated by a few basic ListView features missing in RecyclerView, Željko Plesac set out to write his own wrapper around RecyclerView and RecyclerAdapter to help speed up the development process. This post takes a look at the features and using his creation, MjolnirRecyclerView.
How to make Android more Rx – 5 tips & tricks
Paulina Szklarska shares 5 practical pieces of advice for using RxJava in your daily routine. The post has a few code snippets for things including: Double click detection. Repeating API requests at regular intervals and a lightweight RxBus – All of which will work both on RxJava and RxJava2
React Native from the Android dev’s point of view (part I)
In this post, Irina Galata will help you get started with React Native. The post looks at choosing an IDE, how the UI works, Java and Kotlin code interoperability and finding solutions to problems you may encounter along the way.
Make deep links play well with the rest of your app
Michael Münzer reflects on eGym’s first experiences of using deep-links, to help make their Fitness-app download and user experience smoother. The post expands on how they have extended their deep-linking functionality to meet changing requirements and building a back-stack after deep linking.
Object Oriented Tricks: #3 Death By Arguments
In this mini series, Arun Sasidharan will share tricks for writing maintainable Object Oriented code. When we use functions It can be difficult to get rid of all side-effects that come with an Object Oriented programming paradigm. This Object Oriented Trick (OOT) will provide you with some tips on Arguments, Refactoring, passing boolean & null into a function.
Closer Look At Android Runtime: DVM vs ART
ART and Dalvik are compatible runtimes. Apps developed for Dalvik usually work with ART. However, be aware that some techniques that work on Dalvik do not work on ART. This post from Ankit Sinhal takes a look at what exactly runtime is, how Java and Android code execution works and provides as comparison of Android runtime and Dalvik.
Custom Dialog with Circular Reveal Animation
Reveal animations were introduced in Android Lollipop and provide visual continuity when you show or hide a group of UI elements. In this quick tutorial from Divyanshu Bhargava, you will be shown how to make a full screen Custom Dialog with Circular Reveal Animation.
Squeezing Performance from SQLite: EXPLAINing the Virtual Machine
This post by Jason Feinstein focuses on providing you with a basic understanding SQLite’s “Virtual DataBase Engine” or VDBE from an Android engineer perspective. You will learn what exactly SQLite is, how to prepare a statement, inspecting the bytecode and inserting rows in the database table.
JobsAndroid Developer at Breakthrough Innovation Ltd [Hong Kong]We’re Oction.co (http://oction.co/) Hong Kong’s leading penny auctioneers. We’re set to launch in May 2017 and require a talented, Senior Android Developer to further our mobile efforts. [Apply Today] Looking to hire an Android Dev? Look no further, post your job in the Android Dev Digest for one to four weeks. Reach over 15,000 Android professionals. Learn More |
Autoboxing, a little thing, can cause big problems for Android App Performance
Autoboxing is often overlooked when it comes to Android performance. However, as Ankit Sinhal will explain, a small change of Autoboxing can make a noticeable difference when dealing with devices with limited resources, such as mobiles. Check out the details for the solution.
Litho: Creating a custom Button component
Join Pavlos-Petros Tournaris as he takes a closer look at a declarative UI framework for Android, called Litho. In this tutorial, you will shown how to use Litho’s declarative API to create a Button by combining different aspects of the Framework
A Complete Guide To Learn RxJava
Amit Shekhar provides what he says are the best resources available to learn RxJava in the best possible way. The post includes video’s and articles to help get you started in the in the Reactive Programming world with RxJava.
Migrate a Gradle Plugin from Groovy to Kotlin
Having recently migrated her Gradle Plugin from Groovy to Kotlin, Annyce Davis shares her four step process she used to achieve this and the complete Android Quality Checks Plugin source code
Android Things Best Practices, 3 ways to Thread
What is best practice for threading on Android Things? In this post from Paul Blundell, you will find out how threading differs in Android Things and what you need to know to make an informed choice when choosing your threading option.
Android O: Fonts – Part 2
In this series, Mark Allison takes a closer look at some of the exciting new features being introduced in Android O. Part 2 explores how typefaces are backed using the new font support in introduced.
Engineering Stability in Migrations: Moving to Immutable Collections in Uber’s Android Apps
Warren Smith & Molly Vorwerck explain how the Uber app has built a custom stack to generate AutoValue models and network clients from Thrift Specs, to circumvent the problems that accompany writing a lot of boilerplate code by hand.
Videos
Caster.IO Creating Buttons in Sketch using Nested Symbol Overrides
A design file for a large application can get extremely large if we’re not careful, especially when we have multiple kinds of buttons in our app and need to show each state for them in our design. We can minimize the need for symbols by using a new feature of Sketch – nested symbols overrides.
Caster.IO OpenGL – Your First Shader
A key feature of modern OpenGL rendering pipelines is that they are programmable. In this lesson, we learn the basics of pipeline programming.
In this lesson you’ll learn:
- How to pass in Vertex data.
- How to compile Shaders.
- How to create simple Vertex Shaders.
- How to create simple Fragment Shaders.
- How to pass attributes and uniforms from Java to an OpenGL Shader.
- How to draw simple triangle primitives to screen.
Open Source
Magellan
The simplest navigation library for Android.
litho-glide
Glide image-loading Component for Litho
Nitrite Database
NOsql Object (NO2 a.k.a Nitrite) database is an open source nosql embedded document store written in Java with MongoDB like API. It supports both in-memory and single file based persistent store.