Skip to content Skip to sidebar Skip to footer
Showing posts with the label Kotlin

Pass A Sealed Class As Function Argument Android

I have a sealed class which represents the Retrofit Response of my API. sealed class NetworkRespons… Read more Pass A Sealed Class As Function Argument Android

Admob Adaptive Banner Is Not Showing In Jetpack Compose

I have an AdMob regular banner and an adaptive banner on a composable. The regular banner is showin… Read more Admob Adaptive Banner Is Not Showing In Jetpack Compose

Variable 'runnable' Must Be Initialized

Why does Kotlin complains about this: class MyActivity : Activity { private var handler:Handler =… Read more Variable 'runnable' Must Be Initialized

Canvas.drawbitmap - Software Rendering Doesn't Support Hardware Bitmaps

simple fun fun getCircleBitmap(bitmap: Bitmap, recycle: Boolean): Bitmap { val paint = Pain… Read more Canvas.drawbitmap - Software Rendering Doesn't Support Hardware Bitmaps

Orderbychild() If Same Value, How To Order By Second Variable?

I work with a list sorted by age. When there are same age, I want it to be sorted by name alphabeti… Read more Orderbychild() If Same Value, How To Order By Second Variable?

Where Do I Have To Put My Txt File In Android Studio?

I'm trying to read a File from txt, but it's throwing a FileNotFoundException I already put… Read more Where Do I Have To Put My Txt File In Android Studio?