Posts

Showing posts from September, 2017

The Android Activity Lifecycle

Image
Everything has a lifecycle. You have to believe it's going to change. - Les Wexner Source: https://www.famouslogos.us/android-logo/ An activity is the backbone of most Android development work and its lifecycle is something an Android developer encounters every day of his life. Being well aware of these and understanding them well will definitely help solve many problems an Android developer encounters. This blog post gives a brief introduction about what an activity is and the lifecycle it goes through. ACTIVITY Before we go about understanding what and how the Android activity lifecycle functions, we must first know what an activity is. Activity is actually a class and is a fundamental component of an Android application as the code is initiated in an instance of the Activity class by invoking callback methods which will be touched upon shortly. The different callback methods correspond to the different activity lifecycle stages. The activities thus serve a...

Simple is the New Difficult

Image
Sometimes simple things are the most difficult things to achieve - Keanu Reeves Making simple things difficult is very simple but making difficult things simple is really difficult. The best way to make this process simpler is doing one thing really well at any point in time. There are a few best practices which we are supposed to follow as we join on the floor at Go-Jek Engineering and following those simple ones itself seem to be so difficult.  I realized that following these practices would be an arduous task but then when I was pondering about how this difficult task can be made simple, the only thing that gave me the courage to at least think about being able to achieve what I was set out to do is to do one thing properly without even thinking about the rest of practices. This would be my gameplan for the next few set of weeks so as to be able to achieve the objective of following the practices and in turn being able to bring about a change by setting an exampl...