This file contains 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
/* Example use of the GoogleApiClient reatcive extions sketched out below and how we can use them to | |
* 1. Create an api client | |
* 2. Make a couple of serial api calls | |
* 3. Clean up the api client | |
*/ | |
// Let's create a refernce to a lambda we can use to clean up the client when we are finished with it. | |
var destroy: (() -> Unit)? = null | |
//Create our api client with the APIs we need to use |