kotlin

Are kotlin coroutines threads ?

Kotlin coroutines are a powerful tool for managing concurrency in your code, but many developers are confused about whether or not they are the same as threads. In this blog post, we will explore the similarities and differences between coroutines and…

How to create textview programmatically in Kotlin android ?

Creating a TextView programmatically in Android can be done by instantiating a new TextView object and configuring its properties. First, you need to import the TextView class from the Android SDK. You can do this by adding the following line at the…

How to make a textview scrollable in android ?

There are a few ways to make a TextView scrollable in Android. One way is to use the android:scrollbars attribute in the XML layout file to enable scrollbars on the TextView. For example: < TextView android:id = "@+id/my_textview"…

Load More
That is All