onResume

open override fun onResume()

Called when the activity is resumed.

This method checks the user status by invoking the checkUser method in the view model.