Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Nov 17th, 2018 70 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. class SearchRepositoriesViewModel(private val repository: GithubRepository) : ViewModel() {
  2.  
  3.     private val queryLiveData = MutableLiveData<String>()
  4.  
  5.    /**
  6.      * Search a repository based on a query string.
  7.      */
  8.     fun searchRepo(queryString: String) {
  9.         queryLiveData.postValue(queryString)
  10.     }
  11.    
  12.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top