Android Image Upload Example using PHP with Source Code
| | |

Android Image Upload Example using PHP with Source Code

While learning Android, most of the developers find it difficult to upload an Image to Server from Android App using PHP Webservice as server-side. Sometimes you do nothing wrong in Android Code but Image doesn’t upload to the server. Sometimes you do not follow the same method to receive Image on the server as android application sending…

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,…

Chaining Worker With Android WorkManager
| | | | |

Chaining Worker With Android WorkManager

Chaining the Worker is the most attractive features of WorkManager. With the work manager, we can easily chain multiple workers together and the run workers in a particular order. I’ve written some pretty good articles on WorkManager before. In these articles, I briefly explain how to use the work manager, setting input and output data,…

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…

Setting Input Data And Output Data With WorkManager
| | | | | |

Setting Input Data And Output Data With WorkManager

When working with WorkManager you may need to pass the argument for your task and also need some result to return. To pass the arguments to a task you need to setInputData to when creating the WorkRequest object.  The input data method takes a Data object. Note: By the way, I wrote a pretty good…

Android ktx with Example Part 3 – Android ktx – Core ktx
| | | | | |

Android ktx with Example Part 3 – Android ktx – Core ktx

This is the third and last part of Android ktx tutorial. In this part, we’re gonna explore the core ktx library extension functions. The core ktx have so much cool extension function which makes the Android coding much concise, simple and idiomatic. The core ktx currently cover some of the most used classes in Android…