ИЗ
Size: a a a
ИЗ
ДР
private val myView: View
get() = findViewById(R.id.my_view)
myView.apply{…}
ИЗ
ДР
private val myView: View by lazy { findViewById(R.id.my_view) }
myView.apply{…}
ИЗ
ДР
ДР
ДР
ИЗ
ИЗ
ДР
ДР
ИЗ
onViewCreated
второй разДР
ДР
ИЗ
However, there are a number of situations that can cause your activity to be killed and brought back to life. Thus, onCreate will be called again.
To support this properly, you can save state information in onSaveInstanceState and restore it fron the state bundle you get in on create.
ИЗ
ДР
However, there are a number of situations that can cause your activity to be killed and brought back to life. Thus, onCreate will be called again.
To support this properly, you can save state information in onSaveInstanceState and restore it fron the state bundle you get in on create.
brought back to life
тут другое предполагаетсяДР