Tag: java

Excellence is not enough!

Do you code DRY!

What is DRY principle, and how to achieve that in your android development journey, let’s discuss. DRY stands for “don’t repeat yourself!“. it simply means that you have to never write any piece of code twice otherwise you are really doing it wrong. because when a logic related to that piece of code changes we…
Read more

memory leaks

Android Memory Leaks

Here i’m gonna discuss the memory leak and some causes of this defect in android apps. So what is the “Memory Leak”? Simply the memory leak means that you have allocated a memory to an object but never have the chance to free up that allocated memory. that causes the garbage collector neglect that part…
Read more

Kotlin Object Keyword

In this post we are gonna find out what is the Object keyword in Kotlin and discuss it’s use-cases. in one definition the Object is another way to declare classes but with some differences, the most important difference is that defining an object makes it act like a singleton object, also by defining an object…
Read more

How to Unit Test live Data?

In this article we are going to discuss how we could unit test the Live Data object from googles architectural components. If you have tried to test live Data Object on Android platform you have certainly encountered the error below. java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked. See http://g.co/androidstudio/not-mocked for details. at android.os.Looper.getMainLooper(Looper.java) at android.arch.core.executor.DefaultTaskExecutor.isMainThread(DefaultTaskExecutor.java:58)…
Read more


Gradient Builder Is A Gradient Wallpaper Creator That Lets You To Create Wallpaper Images Using Gradient Effect. Also Has A Built-in Gallery Section To Easily Look At Your Images. Be More Detailed The App Is Built With MVVM Architecture , Uses Observer Pattern And Native AsyncTask For Doing The Tasks Asynchronously .   Take A…
Read more

Store Manager

StoreManager Is An Inventory Tool And Store Manager That Tracks Transactions ,Debts And Credits , Reports Customers Debts And Credits And You Can Always Have A Complete Report Of Your Business In Front Of Your Eyes . There Is A Cloud (And Also Local) Backup Feature , a Barecode Reader To facilitate Product Management .…
Read more


LiteDict Is Dictionary App That Has A Thorough Set Of English/Persian Words In It’s Database , That Could Be Accessed Offline , Also Has An Online Translator Section That Could Translate So Many Different Languages. To Be More Detailed The App Is Built With MVVM Architecture , Connect To Server Using Retrofit And Also Uses…
Read more


EveryDayAWord Is A Vocabulary Learning App That Has A Collection of 512 English Words In 42 Lessons , A Quiz Section For Eech Lesson And A Reporting Section In The Main Activity . Take A Look At The App From It’s Google Play Page : Every Day A Word


HadiLand Is A Language Learning App That Delivers Media Content Secure (To Android Standards) And Encrypted . To Be More Detailed This App Is Developed Using MVVM Architecture , Retrofit For Api Connection , RxAndroid For Asynchronous Programming , Picasso , Dagger And Also ExoPLayer For Encrypted Media Streaming . Take a Look Into Hadiland…
Read more