#NeedOne
  • Home
  • iOS
  • Android
  • Unity
  • Other
  • About
Sign in Subscribe

Android-UI

A collection of 2 posts
Download image from URL in Kotlin
Android

Download image from URL in Kotlin

In Android, we can get the image from synchronously and asynchronously, but it is more common to see in the later. Download image synchronously To download an image from a URL in Kotlin, you can use the URL class and the readBytes function from the kotlin.io library. The URL
21 Feb 2023 2 min read
Difference between activity and requireActivity() in Kotlin
Android

Difference between activity and requireActivity() in Kotlin

activity property In the Android framework, the Activity class represents an app's UI and provides an interface for the app to interact with the system. The activity property in a Fragment or Context object refers to the Activity that the Fragment or Context is currently associated with. Here
24 Jan 2023 2 min read
Page 1 of 1
#NeedOne © 2025
  • Sign Up
  • Private Privacy
  • Terms and Conditions
  • Cookie Policy
Powered by Ghost