Created
November 12, 2016 14:34
-
-
Save tassioauad/5352b751659fe48a94be353c77df6924 to your computer and use it in GitHub Desktop.
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
@Override | |
public void startActivity(Intent intent) { | |
if (Intent.ACTION_SEARCH.equals(intent.getAction())) { | |
//Do something with the query... | |
} else { | |
super.startActivity(intent); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment