Image for post
Image for post
Photo background by Andre Furtado on Unsplash

Dear readers welcome to an article about Inducing MVVM to Existing Kotlin Code. A new blog in the EASY ANDROID Programming Series.

In this article, we are going to learn how we are going to improve android application which we developed in our last blog. Before starting my article To set up an agenda for our discussion, below is the index of topic

  1. Introduction (Already done)
  2. Quotation
  3. Assumptions
  4. File Organisation
  5. Code Walkthrough
  6. MVVM structure
  7. MVVM usage with Retrofit
  8. Output
  9. Conclusion

For the topic on improvement, I would like to quote an eminent personality, Mr. …

Image for post
Image for post
Photo by Anil Kukreti

Welcome to a brand new tutorial for Easy Android Programming. In the tutorial, we are going to learn about the basic usage of retrofit in kotlin for fetching JSON from a remote server.

Before starting the tutorial, I would like to tell you, code for the blog is available at Open source Github repository.

Below is the index for various sections of the blog

  1. Motivation
  2. Process
  3. File Organization
  4. Movie.kt
  5. MoviesResponse.kt
  6. MoviesService.kt
  7. MainActivity.kt
  8. Conclusion

I would like to quote here, a famous saying by Mr. Charles R Swindoll,

Life is 10% what happens to you and 90% how you react to it.

Image for post
Image for post


For me, MVVM is one of the best design patterns available today for improving RSS Reading in kotlin via MVVM based code.

In our last blog, under the EASY ANDROID Programming Category, you helped yourself by developing a basic RSS Reader Application in Kotlin.

To start with, I would rephrase or rather a popular phrase,

Practise makes a man perfect.

So we practice a lot, improve our existing code. Great.

But why?

There is one another saying popular among army people,

soldiers who shed a lot of sweat by hard work in practice, will shed less blood in battles.

Enough of motivation :). Let’s get down to…

Image for post
Image for post


RSS reading is one of the most important and widely used features across software apps in web or mobile techs. To keep the things in control we would be concentrating our blog to kotlin.

To start with I would like to emphasize on a saying

You can’t build a great building on a weak foundation

Therefore, we will first be creating a very basic app for exploring RSS Reading functionality in Kotlin. In the later part of this blog, we would be using MVVM to improve our code structure.

During our journey, we will encounter a few helper libraries like CardView, RecyclerView, Glide, Jsoup in between. …

Image for post
Image for post


Before I start my blog on Using CircleCI for publishing the NPM Package, I would like to motivate you.

Every task at Relsell Global, done by following a piece of great advice by eminent late Mr. Steve Jobs.

If I try my best and fail

well I have

tried my best.

As a result, the marathon started with an idea to contribute to open source. We are skilled in Backend Node programming, so we concluded it would best to go ahead with developing a package/app in Node.js. But then our CEO gave us a challenge:

“I know you people will find out a way to publish Node package to the public NPM registry. But I want all that to be automated using CircleCI.”

Image for post
Image for post

Login screen demo with SwiftUI

Hello and welcome to brand new tutorial on how to create a simple Login Screen Using Swift UI.

Swift UI is a new buzz and helps in creating a responsive UI, so UI in apps is automatically adjusts itself with different IOS devices. In turn it makes it way easier for IOS developer to create UI.

Downside of using swift UI for dev is you need xCode 11.3+ for developing apps with swift UI. and obviously apps will not run on IOS device having OS version < 13.

Lets get started then, by creating a brand new ios

Step 1

Image for post
Image for post


This is first tutorial in EASY Android Programming: MVVM series.

Eminent Mr. Woody Guthrie has said it right

Any fool can make something complicated. It takes a genius to make it simple.

So how all this is connected?

Most of the experienced or intermediate software developers know that its the quality of the application that makes it saleable. Users like that app which doesn’t crash and do the desired work in lesser no of steps.

UI Experience designers put a lot of midnight oil to come up with eye-catching UI, yet, easy to navigate. …

Image for post
Image for post


What should be the right way of Using Third-party API Keys in Android?

Since you have been developing android applications for some time, you might have realized the benefits of Source Code Management System like Git. When you work solely it helps, when you work within a team it helps.

So you may have thought about this question in the past.

To start our topic of discussion in detail, I would first like to add a quote by an eminent personality bill gates

It’s fine to celebrate success but it is more important to heed the lessons of failure

Good developers even good human beings keep on improving them, their ways of working, most important their perception and outlook. Our failures in life teach us more than our success in life. Experienced developers know this. …

Image for post
Image for post

Late Mr. Steve Jobs rightly said

The only way to do great work is to love what you do.

When we developers try to follow the above saying and imbibe it in our daily routine we often find ourselves in a situation where we are finding the scope of improvement in our own applications.

The topic is for advanced learners who are experienced developing Android application and have released the application, maybe they have released the first version of the application to the Play Store and now they want to improve its code

This blog is not for beginners this is for Advanced Learner’s which now want to improve their existing codebase. …

There must be a way to show list of installed packages in the android device. With my mind’s imagination and clearly help from other people , I discovered a way to do that.

But why do we think that it’s a good idea to get list of installed packages.

Coz we can do lots to things like we can block/unblock a particular package / application. or we can invoke a particular package to come to foreground. or we can extend this functionality and calculate time spent on each application, during a day.

Have a look at the below function , called first we are querying package manager to get the Meta Data , which will give a List of ApplicationInfo objects. …


Anil Kukreti

Learning via repetition. Long but sturdy, reliable way to learn.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store