mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-30 13:17:57 +03:00
add Intent.getParcelableArrayListExtra()
This commit is contained in:
parent
8f993fd822
commit
931497689c
1 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,7 @@ import android.net.Uri;
|
|||
import android.os.Bundle;
|
||||
import android.os.Parcelable;
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class Intent {
|
||||
private ComponentName component;
|
||||
|
@ -309,4 +310,8 @@ public class Intent {
|
|||
this.data = uri;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ArrayList<Parcelable> getParcelableArrayListExtra(String name) {
|
||||
return extras.getParcelableArrayList(name);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue