where is:
enableEdgeToEdge()
setContentView(R.layout.activity_edit_student)
ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main)) { v, insets ->
...
its not the common pattern according to android developer website
https://developer.android.com/kotlin/common-patterns#fragment-nullability
and in
https://developer.android.com/kotlin/common-patter...
in the lectures the lecturer did this line like:
private var bottomNavigation: BottomNavigationView? = null
i think its better cuz he thought it this way