Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
BaseViewModel for the demo of template creation.
abstract class BaseViewModel : ViewModel() {
open fun onActivityCreated(extras: Bundle?) {}
open fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment