×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Michał Stampski
Added: Mar 9, 2021 9:41 PM
Views: 4751
Tags: no tags
  1. public void odpalActivity(Class<?> activity) {
  2.  
  3.         Intent intent = new Intent(this, activity);
  4.         startActivity(intent);
  5.     }