79125866

Date: 2024-10-25 13:20:25
Score: 2.5
Natty:
Report link

you can create a later init variable before the call of onCreate fucntion and then assign the value to the variable after calling overrive onCreate fucntion , this enable you to use the fucntion glbally in the app and then migrate the viewmodel outide the main activity , in a seperate file

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: You May Know