Last active
May 3, 2020 11:16
-
-
Save kirich1409/d674b3a830fe93c56f687bc3a7a3b7d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ProfileFragment() : Fragment(R.layout.profile) { | |
private val viewBinding: ProfileBinding by viewBinding() | |
override fun onDestroyView() { | |
super.onDestroyView() | |
// Clear data in views from viewBinding | |
// ViewBinding inside viewBinding is null | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment