February 2023

How to use Hilt for dependency injection in your Android projects

Difficulty: Intermediate What is Dependency Injection? dependency injection is a design pattern in which an object or function receives other objects or functions that it depends on.[1] But what is a dependency injection library? dependency injection libraries like Dagger 2 or Hilt, are used in projects to reduce boilerplate code and have all the benifits …

How to use Hilt for dependency injection in your Android projects Read More »

post featured image

Bottom navigation bar setup tutorial – Android [XML]

Difficulty: Beginner Implementing Bottom navigation on android can be a tricky task, since there isn’t clear instructions on how it can be implemented properly, in this article we are going to implement the material design ‘bottom navigation view’ with multiple back stacks that preserve their state when switching between different screens. Setup To use bottom …

Bottom navigation bar setup tutorial – Android [XML] Read More »

Recycler view featured image

Display a list of items in a RecyclerView on Android using Kotlin

Level: Beginner If you need to show a dynamic list of items in your android app, recycler view is your best choice, recycler view is designed to display a large list of data while not consuming so much memory. RecyclerView achieves this by recycling views that are not visible on the screen and uses them …

Display a list of items in a RecyclerView on Android using Kotlin Read More »