Intent - Put List Extra

//Example MainActivity

Intent intent = new Intent(MainActivity.this, NewActivity.class);
intent.putStringArrayListExtra("data", (ArrayList<String>) List);
intent.setClass(getApplicationContext(), NewActivity.class);
startActivity(intent);

//Example NewActivity
if (getIntent().getExtras() != null) {
for(String a : getIntent().getExtras().getStringArrayList("data")) {
List.add(a);
}
}

//This will export your String List on old to new activity

Komentar

Cara pembuatan Apps paling Populer

Create Stopwatch App in Android using Sketchware

TextInputLayout in Sketchware

How to find and​ highlight a word in a text field in Sketchware?

A Flash Light App in Sketchware

How to enable download in webview in Sketchware apps?

Intent - Open File By Type

Code for implementing Notifications in Sketchware

How to share an image from Drawable folder?

ActionBar back button

Animation Transtition Animation