Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Expose `ViewModel.clear()`
package android.arch.lifecycle
fun ViewModel.clear() = clear()
package com.example
import android.arch.lifecycle.ViewModel
import android.arch.lifecycle.clear
fun test(viewModel: ViewModel) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.