Skip to content

Instantly share code, notes, and snippets.

@stephanenicolas
Created September 26, 2017 23:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephanenicolas/978db5137e776bdb48292c4a8961d86d to your computer and use it in GitHub Desktop.
Save stephanenicolas/978db5137e776bdb48292c4a8961d86d to your computer and use it in GitHub Desktop.
Non-Static methods hidden parameters
public static class MainActivity extends Activity {
public void onArticleSelected(int position) {
}
public static void onArticleSelected(MainActivity activity, int position) {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment