python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
lateinit property has not been initialized - Android Lifecycle issue
I get an occasional app crash report which shouldn't occur based on my understanding of the Android lifecycle. Obviously I'm wrong somehow.
I have an Activity which initializes an API interface in the...
woocassh
Votes: 0
Answers: 4
How to avoid recreating activity when the screen has rotated?
I use single Activity pattern in my app using Navigation component. I use YouTube Android library for playing the video. When I click full screen icon on video player the top and bottom tool bars have...
Artem
Votes: 0
Answers: 3
LiveData observer triggered after reloading fragment when start new fragment but AlertDialog not
I have a LiveData observer on LiveBarcodeScanningFragment that observes barcode live data, after which if detected, BarcodeBottomSheetFragment will start (extend Fragment instead of BottomSheetDialogF...
Jared DC
Votes: 0
Answers: 1
Compose navigation lose state after pop screen (initial composition)
I am using compose navigation with single activity and no fragments.
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedIns...
wonpyohong
Votes: 0
Answers: 0