Created
December 11, 2019 18:06
-
-
Save user-mw/b3c446523e11a31ca862a30a57c78bc9 to your computer and use it in GitHub Desktop.
ViewModel class 2019
This file contains hidden or 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
| public abstract class ViewModel { | |
| protected void onCleared() { // Code } | |
| final void clear() { // Code } | |
| <T> T setTagIfAbsent(String key, T newValue) { // Code } | |
| <T> T getTag(String key) { // Code } | |
| private static void closeWithRuntimeException(Object obj) { | |
| // Code | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment