Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. public class Interstitial extends Banner implements Parcelable {
  2. ...
  3.  
  4. Interstitial entryAd.setType(Interstitial.TypeInterstitial.APPGAME);
  5. entryAd.setTitle1("Your internet-100X Faster");
  6. ...
  7.  
  8. Intent i = new Intent();
  9. i.putExtra("nombre_extra", objectoParcelable);
  10.  
  11. Intent i = getIntent();
  12. ObjectoParcelable objectoParcelable = (ObjectoParcelable) i.getParcelableExtra("nombre_extra");
  13.  
  14. public class Interstitial implements Serializable {
  15.  
  16. public class Interstitial implements Parcelable {
  17.  
  18. Intent intent = new Intent(MainActivity.this, SegundaActivity.class);
  19. intent.putExtra("listaInterstitial", listaInterstitial);
  20. startActivity(intent);
  21.  
  22. ArrayList<listaInterstitial> listaInterstitial = (ArrayList<listaInterstitial> ) getIntent().getSerializableExtra("listaInterstitial");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement