This is one of the easiest ways to do it, although I do not recommend it too much for building complex apps, because it just becomes another line of code that you have to continuously go back and maintain.
Пікірлер: 9
@saved747 ай бұрын
How do you do this in java?
@iftak013 жыл бұрын
nice video but one ques what was the point of "username" variable in the onSaveInstanceState function? Its never used
@gregorszczypek9813 Жыл бұрын
absolutely, trying to understand this as well. Did you find it out by any chance? greets
@mohnouriemm75333 жыл бұрын
Hi, what is the advantage of using this method over having a "companion object{}" and simply deal with our data from there?
@sabrinafeliz48223 жыл бұрын
How to save and restore tablelayout
@swethaaresetty31053 жыл бұрын
Hello , I am creating an app which has two fragments , home and profile . Profile fragments shows the user data retrieved from database. When i open profile fragment for the first time , it is taking time to load the user data and when i switch to home fragment and again back to profile fragment , it is loading the user details again . Can anyone please tell me how to load the data first time then save it and restore it from next time using kotlin.