Android Room Persistence With LiveData
| | | | | |

Android Room Persistence With LiveData

Previously in our Room persistence article, we’ve discussed what are the basics of Room and how to simply work with it. Also, we’ve made a book library app using the Room persistence basic components. (If you haven’t read the previous article, I highly recommend you read it before proceeding it.) In this article, we’re gonna…

Android LiveData Transformation With Example | Map And SwicthMap
| | | |

Android LiveData Transformation With Example | Map And SwicthMap

In this article, we’re going to explore the Transformations of LiveData. Sometime there may be a case where you want to changes in the LiveData value before dispatching it to the Observer or you may need to return different LiveData based on some condition. Here comes the concept of Transformations. In the last article, we’ve…

Android LiveData With Example
| | | | |

Android LiveData With Example

Today I wanna tell you about a few solutions that have been developed. Solutions for problems that I think all of us as a developer have been trying to solve again and again in every project. So, let’s say that I want to perform actions in response to changes in lifecycle status of Android Component….

Why Developer Needs To More Concern For Background Process When Targeting Android P
| | | |

Why Developer Needs To More Concern For Background Process When Targeting Android P

We all want good power efficiency right..? Like batteries that last a long time. We want to build really cool apps and we do not want the user to manage between these things. Like do I want to build cool apps, or do I want power efficiency. It’s terrifically difficult to make that choice. So,…

Android Room Persistent And RxJava2
| | | | |

Android Room Persistent And RxJava2

We all want to make our app reactive, less boilerplate code, the power of asynchronous and observable queries. The good news is Room library supports async queries which return LiveData or RxJava2 observable types. The LiveData and Observables allow you to get an automatic update whenever the data changes. Now let’s say we need to read all…

InputMerger and ArrayCreatingInputMerger with WorkManager
| | | | | | |

InputMerger and ArrayCreatingInputMerger with WorkManager

In the last article, we discussed how we can set input and output data with WorkManager API. (If you haven’t read the previous article I highly recommended you to read before proceeding.)  In this article, we’re going to learn how we can convert multiple output results into one input using InputMerger. I also wrote a pretty…

ViewModel – Android Architecture Component
| | | | |

ViewModel – Android Architecture Component

Couple of years ago, when I’m studying at my University. We have given the assignment to make a color changer app. The app is very basic where we have only one button and when a user clicks the button it changes its background color. So like I said, the app is very basic and I’ve made…

Android ktx with example – Fragment | Palette | Collection | SQLite
| | | | | | | | |

Android ktx with example – Fragment | Palette | Collection | SQLite

If you’re developing an Android application with Kotlin, then I have good news for you. Recently Google released an Android ktx library, which is a set of Kotlin Extension function. Android ktx is a part of Jetpack family. The purpose of Android ktx is to write less code and more concise. Android ktx brings us…

AutoSize TextView Android
| | |

AutoSize TextView Android

Finally, Android O support library got this feature covered. Material design recommends using a dynamic type instead of smaller type sizes or truncating larger size text. A TextView that automatically resize the text, expand and fill its layout based on the text view characteristics and boundaries. These characteristics make it easier to optimize the text size…