Skip to content

Instantly share code, notes, and snippets.

@lman
Created April 9, 2015 15:54
Show Gist options
  • Save lman/061e2f5a8b37701dc0e8 to your computer and use it in GitHub Desktop.
Save lman/061e2f5a8b37701dc0e8 to your computer and use it in GitHub Desktop.
public class FriendsListActivity extends BaseActivity {
public static final int CONST = 0;
public static final int SOME_CONST = 1;
@InjectView(R.id.list) RecyclerView list;
@InjectView(R.id.another_list) RecyclerView anotherList;
@Inject SomePresenter presenter;
@Inject AnotherPresenter anotherPresenter;
protected SomeClass protectedVar;
private SomeClass privateVar;
public static void start(Activity context, int circleId) {
Intent intent = new Intent(context, SomeActivity.class);
context.startActivity(intent);
}
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// ...
}
public void somePublicMethod() {
}
private void somePrivateMethod() {
}
public interface IPublicInterface {
}
private interface IPrivateInterface {
}
public static class PsClass {
}
private static class PrsClass {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment