Skip to content

Instantly share code, notes, and snippets.

@user-mw
Created December 13, 2019 16:25
Show Gist options
  • Select an option

  • Save user-mw/86c269dbca7c3de7bc2c81ac49e33716 to your computer and use it in GitHub Desktop.

Select an option

Save user-mw/86c269dbca7c3de7bc2c81ac49e33716 to your computer and use it in GitHub Desktop.
FragmentManagerImpl getViewModelStore()
public class FragmentManagerImpl {
// Code
ViewModelStore getViewModelStore(@NonNull Fragment f) {
return mNonConfig.getViewModelStore(f);
}
// Code
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment