Skip to content

Instantly share code, notes, and snippets.

@PatilShreyas
Created April 8, 2019 13:17
Show Gist options
  • Save PatilShreyas/b4f12e05561053a734c73da1a45d40e8 to your computer and use it in GitHub Desktop.
Save PatilShreyas/b4f12e05561053a734c73da1a45d40e8 to your computer and use it in GitHub Desktop.
//Start Listening Adapter
@Override
protected void onStart() {
super.onStart();
mAdapter.startListening();
}
//Stop Listening Adapter
@Override
protected void onStop() {
super.onStop();
mAdapter.stopListening();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment