how do i pass 2 denominational array object as a parameter to another activity
how to get two dimensional array string value in another activity
S
set the 2darray as public static void. let current_class be the class in which we create our 2d array We want to pass the data to NewActivity
Class> ourClass=Class.forName("com.example.testapp.NewActivity");
Intent ourIntent= new Intent(current_class.this,ourClass);
intent_name.putExtra("name", 2darray_name);
startActivity(ourIntent);`
to access this in NewActivity , use current_class.2darray_name where current_class is the class where it was originally defined.