Tag: android
-
Book Dash Android App
I have been working on this app for a couple of months and I am SOOO excited to share it with everyone. The app that I have made is for a NPO called Book Dash. Their cause has inspired me and I decided I wanted to make an app for them that would showcase their…
-
Monthly Android Morsels [November 2015]
Just a small list of things related to Android development that I have found useful this month. Hope you find them useful too! Android Design: A nice new way to edit your theme and see its effect in Android Studio. Click Tools -> Android -> Theme Editor Android XML optimisation: Tired of creating dummy text…
-
[Github Library] Android Material Info Tutorial
I made a Github library to create an on-boarding activity for your Android application. It is inspired by the tutorial in the Google Sheets app. The library offers the ability to set a different background colour per slide. It transitions the colours into one another by calculating the colour between the one it’s transitioning to and where it is…
-
Android – Reduce the size of your APK files
If it is one thing that I hate – it is apps that are HUGE downloads for really simplistic functionality. 40MB for an app that just accesses some messages and has hardly any images, what is it doing?? I have recently had quite an obsession trying to reduce my app size and have managed to shave off…
-
Retrofit 2 – Mocking HTTP Responses
In the previous post, I discussed implementing a custom Retrofit Client to mock out different HTTP response codes. This mechanism works well for Retrofit versions 1.9 and below but has its drawbacks. After trying out Retrofit 2, I have adjusted the previous sample and managed to achieve the same results (with some improvements 😀).
-
Mocking API Responses using a Retrofit Client in Android (Retrofit 1.9)
Writing test cases in Android can be quite a daunting task, especially the handling of different server responses. Testing error responses can be quite problematic and your app might not cover all the different scenarios. If you are using Retrofit 1.9 and below to do your network calls, testing error responses can be quite simple. There…
-
Using Git Flow for Android Development
Developing in a small team is pretty manageable as you generally see the code that is changing and can easily monitor these changes. Often teams don’t take full advantage of Git’s capabilities.
-
Android Data Binding – Part 2
In Part 1 I gave an introduction into the Android Data Binding Library. I suggest reading that post first before reading further. In this post I am going to discuss the following : Binding Adapters Binding Events Two Way Binding Binding Adapters Creating an adapter and using Android Data Binding for each item is quite simple.…
-
Getting Started: The Android Data Binding Library Part 1
Anyone who has dabbled a bit in Android Development will know that Android is lacking a key component of MVVM: The ability to bind data without a couple of lines of code. For instance, setting a TextView to some value retrieved from a server is pretty complex, considering the simplicity of the task: TextView textView =…
-
South African Lotto Results & Checker {ANDROID APP} – DEPRECATED
UPDATE : 11 September 2015 : Unfortunately I had to discontinue this service as the official Lottery Provider changed, and the results are not published in the same manner. Sorry! After searching the Google Play store for a Lotto app, I realised they were all pretty revolting, so I decided to create my own one…