Android Architecture Components – Looking at Lifecycles – Part 3

In the previous posts (part 1 and part 2), we looked into the new Architecture Components that were announced at Google I/O 2017. The Android Architecture components are a welcome addition to the Android Platform. Previously, it was difficult to architect Android applications as there were no official guidelines. The new Architecture Components help solve some of the more difficult problems that you may have faced when building your Android applications in the past.

In this blog post, we will examine the new classes that were introduced to handle Lifecycle changes. Continue reading Android Architecture Components – Looking at Lifecycles – Part 3

Teaching High School Girls about the Different Careers in Software Engineering

Yesterday I was invited to speak at St. Mary’s Diocesan School for Girls in Pretoria about Software Engineering and the different aspects of my every day job. I was really excited to share my story with them. When I was in High School we didn’t have this kind of opportunity. We had a Career Expo but not anything like this, our Career Expo involved a bunch of stands in the school hall with people handing out brochures. I remember walking around and being way too scared to talk to anyone, I collected a few brochures and still had no clue what I wanted to do with my life. Continue reading Teaching High School Girls about the Different Careers in Software Engineering

Google I/O 2017 – Highlights for the Android Developer

This year’s Google I/O 2017 was an exciting few days for developers. After last year’s complaints of long queues and no shade, Google listened and delivered a pre-booking system that ensured attendees weren’t queuing for hours. They also provided big bottles of sunscreen and more shade.  Continue reading Google I/O 2017 – Highlights for the Android Developer

Android Architecture Components – Looking at ViewModels – Part 2

The Android Architecture components were recently announced at Google I/O 2017. There are a few different components that are a part of these libraries. These components can be used in isolation but work really well when used together. In the previous blog post, we looked at using Room and LiveData. Make sure you read that post before this one, as this is a continuation. Continue reading Android Architecture Components – Looking at ViewModels – Part 2

Android Architecture Components – Looking at Room and LiveData – Part 1

This week at Google I/O 2017, there were a lot of new announcements for the Android Platform. One of the announcements was the new architecture guidelines for Android! This is a welcome addition to the Android platform.

Previously the Android team refrained from giving advice as to how you should structure your Android applications. For the most part this meant that anyone learning Android for the first time would just end up placing all their code into the Activity files and occasionally moving stuff into an AsyncTask if the app crashed with a NetworkOnMainThreadException. Only after trying to add unit tests and instrumentation tests would you really understand that your code you have just spent so long developing was not easy to read, make changes to or to write tests for. Continue reading Android Architecture Components – Looking at Room and LiveData – Part 1