Understanding MVVM on Android Tutorial 05 – Introduction to Reactive Programming with RxJava

So far in the series, we have defined our model and retrieved the model data using networking calls with Retrofit2. Then we created our views using standard Android components. But before we create the last piece of our M-V-VM pattern, the viewmodel, it is worth discussing reactive programming. I am introducing reactive programming at this stage because I will be making use of reactive programming techniques to propagate changes between my Views and the ViewModels. In particular I will be making use of RxJava library.
Continue reading…

Hear the brilliant “Startup Podcast” about 2 guys journey to launch their company free on Soundcloud.

Understanding MVVM on Android Tutorial 02 – Defining the Model with GSON and POJOs

Over the course of this series, we’ll be building an app that uses RESTful APIs to fetch data in JSON format and display it in our app. A good place to start (…in any development project) is to define the model layer. What is the business domain for the app? What high level objects can be used to represent the business domain? And what are the relationships between the various business objects? As an example, if we were defining the model for a school administration system, a first attempt at defining the model may produce the following objects: Student, Course, and Staff. In our case, we will be building a “GitHub Repo Reader” app that fetches and displays all the repositories of a single github user.

Continue reading…

Understanding MVVM on Android Tutorial 01 – MVC vs MVP vs MVVM

As an android developer, you may have been asked by an employer/client to implement an architecture pattern when developing your app. Examples of commonly used patterns are MVC, MVP and MVVM, with most Android developers choosing either the MVP or MVVM pattern. However, there is a lot of discrepancy and confusion on how to implement these patterns “correctly” and I know a lot of developers have been struggling with the MVVM pattern due to so many contradictory or confusing approaches. This post is my attempt to demonstrate a “really simple” but detailed step-by-step demonstration of using the MVVM pattern in an Android app. Through the course of the series, we will be developing an app which accesses a REST API and displays the received data in the app. We will also be making using of some popular Android libraries like GSON, Retrofit2, RXJava and Dagger2.

What is a software architecture pattern anyway? Continue reading…

ANDROID – Pass data between 3 activities

Android applications are made up of one or more activities. And as you move from screen to screen in your app, you may need to share information between the various activities e.g the username, current score etc. This is easy enough when you are just passing information back and forth between two screens (activities), but needs a slight tweak if you need to pass data between more than 2 activities. For example, I earn 10 points on screen A, I click through to screen B to check my points balance to see if I have enough points to buy a new weapon? Yay, I do! So I click through to Screen C to buy a fancy new sword, which I would like to use back in Screen A. Continue reading…

Kinetic Typography Video for Mobile App

One of the things I love about working on apps is getting to collaborate with people from various fields. Especially true when we start working on the design and marketing strategy of our apps. I love the creative process of bouncing ideas of each other and it gives us techies an excuse to get out from behind our computer screens for a change. This kinetic typography video was made to support the launch of the app “Inspirational Lockscreens” (due on Google Play in June 2015). Continue reading…

A Hello FREEBIE – App Store Badges PSD

Hi, welcome to the KyuBid blog! My name is Grace and I’m the Founder/Development Lead/Resident Android Expert and Chief Cake-Baker here at Kyubid. The team and I will be sharing programming tips, tricks and the hacks we use to get our mobile apps ready for launch. We’ll also be sharing some of the tools that makes our life soooo much easier while we’re developing apps here at KyuBid. So if you’re into that sort of thing, read on and make sure you stick around.

FREE Google Play & App Store Badges Set PSD

Continue reading…