caparol6991

Untitled

Apr 14th, 2019
146
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. String rng = jsonArray.getString(1);
  2. Intent intent = null;
  3.  
  4. if(rng.equals("admin"))
  5. intent = new Intent(Loginn.this, Menuu.class);
  6. else
  7. if(rng.equals("wlasciciel"))
  8. intent = new Intent(Loginn.this, Menuu.class);
  9. else
  10. if(rng.equals("kierowca"))
  11. intent = new Intent(Loginn.this, Menuu.class);
  12. else
  13. if(rng.equals("spedytor"))
  14. intent = new Intent(Loginn.this, Menuu.class);
  15.  
  16. startActivity(intent);
RAW Paste Data