top of page


Aug 11, 20211 min read
Jetpack Compose Preview not showing
It's most common bug in Jetpack Compose. You can solve this issue by following these simple steps: Use latest version dependency. I am...
11,231


Jul 31, 20212 min read
1. JetPack Compose Introduction
What’s JetPack Compose? Jetpack Compose is a modern toolkit for building native Android UI. Jetpack Compose simplifies and accelerates UI...
35,947


Jul 30, 20212 min read
2. JetPack Compose Preview
Introduction: In Jetpack Compose we can see the preview of our code in Android studio. It allows us to see the output without running our...
34,571

Jul 28, 20211 min read
Error - Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
Solution Goto settings -> Build, Execution, Deployment > Build Tools > Gradle > Gradle JDK -> Change to Java 11
913


Jul 27, 20212 min read
5. TextStyle in JetPack Compose
Introduction: Text plays important role in mobile/web applications. We can present the details to the user using Text. Let's assume If we...
23,154


Jul 26, 20212 min read
7. Buttons in Jetpack Compose
In Jetpack Compose buttons, you need to give two arguments for buttons. The first argument as onClick callback and another one is your...
89,884


Jul 26, 20214 min read
6. Jetpack Compose Modifiers
What are Modifiers in Jetpack Compose? Modifier elements decorate or add behavior to Compose UI elements. For example, backgrounds,...
25,053


Jul 24, 20212 min read
10. LazyColumn and LazyRow
Lazy composables If you need to display a large number of items (or a list of an unknown length), using a layout such as Column can cause...
43,728


Jul 21, 20213 min read
12. Themes in Jetpack Compose
If you create a new Jetpack compose project, you will see ui.theme package. It contains the following classes. Color.kt - for custom...
30,950


Jul 20, 20212 min read
13. Card in Jetpack Compose
What's Card? Card is a container, we can place single composable in card. It has elevation property, we can display shadow effect using...
54,011


Jul 19, 20212 min read
14. Jetpack Compose Progress Indicator (ProgressBar)
Progress Indicator is a widget to indicate some actions are in progress to the user. For long-time operations such as file downloading,...
59,897
bottom of page