Duplicate code is the root of all evil in software design. When a system is littered with many snippets of indentical, or nearly identical code, it is indicative of sloppiness, carelessness, and sheer unprofessionalism. It is the guilt-edged responsibility of all software developers to root out and eliminate duplication whenever they find it.

Some years ago, we had only ListView and its Adapter. It had performance issues and these issues were resolved with ViewHolder Pattern (Here also I want to send my greatest appreciation to the one who found and shared this).

If we go back and…

When the communication between Fragment and Activity matters.

Fragments and Activities are the points with which our users directly interact. As the navigation between Activities is very expensive and cause performance problems, using single activity and many fragments in it for a work-flow/user-flow has become very popular way of developing Android App nowadays.

So communicating Fragment with other…

In the O part of SOLID, I want to start again asserting. Now I want to assert that O is the most misunderstood design pattern and practise. Let’s understand it better in this article.

Let’s start with this definition(by Bertrand Meyer states):

software entities (classes, modules, functions, etc.) should be…

I want to start asserting that Single Responsibility Principle is the most important design pattern to be followed by a Developer who wants to be better Developer and a Company(company may force it to its developers) which wants to have more maintainable Product.

I would like to share my experience…

If you can’t explain it simply, you don’t understand it well enough. — Albert Einstein

What is exactly this CoroutineContext?

To give very simple question what exactly this CoroutineContext is, the first place that we should look kotlinlang.org.

It is written there:

Coroutines always execute in some context represented by a value of the CoroutineContext

Ibrahim Yilmaz

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