Android Studio – Passing variables from Parent to Child views in Android
Whats the difference between pass the variables like this: Intent intent = new Intent(mCtx, DetailsActivity.class); intent.putExtra("pId", id); intent.putExtra("pType", type); mCtx.startActivity(intent); and using the keyword Bundle? Intent intent = new Intent(MainActivity.this, DetailsActivity.class); // Now let's Pass data using Bundle Bundle bundle…