Saturday, 24 June 2023

Jetpack Compose Add text in android application.

Adding text in android is we were using TextView in android studio.

But using jetpack compose we don't need TextView as a deign layout.

Yes , using Jetpack Compose we can add text only with coding so lets start how its work ,


First you have to add some dependency library in your build.gradle (app module)


Find Hours Diffrence in Kotlin

  In Kotlin, determining the difference in hours between two timestamps is a common task, especially in scenarios involving time-based calcu...