android studio – why is the TextView missing?
I have a FrameLayout and using the bottom navigation View there is a switching of 3 fragments. When the button is clicked, TextViews are created in the Main Fragment. The problem is that when switching from the main fragment to the second and returning to the main fragment, the created TextView disappears. How it can be solved. That is, I need the TextView to stay on the fragment
Android Studio error – No value passed for parameter
I’m trying to make an app with a simple profile creation screen that transitions to the next screen, here known as the ‘Welcome’ screen, but there appears to be one error that’s keeping it from doing just that.
Error when clicking buttons in mobile app
Project name:
SEMOC UCSAL application
“adjustResize” cutting of some parts on actual phone on bottom drawer
I hope you can help me. Have tried quite a few things but could not find a solution.
I have a bottom drawer in my App where you can enter some values with edittext fields. I have set the windowSoftInputMode to adjustResize and evverything works perfectly in the emulator (tested with API 31 & 34).
But on my actual phone API 34 (Android 14) Samsung, quite a lot is cut off.
My bottom drawer is a layout XML that is called in my fragment on button press.
I am using raw kotlin and android, no jetpack or something.
Here some code snippets (written in Kotlin):
android 14 Exception on devicepolicymanager.wipedata(): User 0 is a system user and cannot be removed
I use DevicePolicyManager to do hard reset with wipe data in my device owner app. It works good, but on android 14 throws exception: “User 0 is a system user and cannot be removed “. I tried to pass different flags, but nothing helped. Are there any solutions for android 14 to call data wipe?
How can I avoid to using too many “if” in Kotlin?
I want to create a word guess game and these words will have answers. How can I control random word’s meaning instead of this?