Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class NewActivity extends RestListActivity {
- ArrayList<ClsFilmGenres> genres;
- String genreCode = "-1";
- @Override
- public void firstRequest() {
- genresSpinner.setVisibility(View.GONE);
- getBooksNovelty();
- }
- @Override
- public void onRESTResult(int code, String result, String mode) {
- if (mode.equals("books/novelty")) {
- parseFilms(result);
- }
- }
- @Override
- public void onGenreSelected(int pos) {
- }
- @Override
- public void onScrolling() {
- getBooksNovelty();
- }
- public static Intent createIntent(Context context) {
- Intent i = new Intent(context, NewActivity.class);
- i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
- return i;
- }
- }
Add Comment
Please, Sign In to add comment