daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Dec 13th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class NewActivity extends RestListActivity {
  2.  
  3.     ArrayList<ClsFilmGenres> genres;
  4.     String genreCode = "-1";
  5.    
  6.     @Override
  7.     public void firstRequest() {
  8.         genresSpinner.setVisibility(View.GONE);
  9.         getBooksNovelty();
  10.     }
  11.  
  12.     @Override
  13.     public void onRESTResult(int code, String result, String mode) {
  14.         if (mode.equals("books/novelty")) {
  15.             parseFilms(result);
  16.         }
  17.     }
  18.  
  19.     @Override
  20.     public void onGenreSelected(int pos) {
  21.        
  22.     }
  23.  
  24.     @Override
  25.     public void onScrolling() {
  26.         getBooksNovelty();
  27.     }
  28.    
  29.     public static Intent createIntent(Context context) {
  30.         Intent i = new Intent(context, NewActivity.class);
  31.         i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
  32.         return i;
  33.     }
  34. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top