You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
add Intent.getParcelableArrayListExtra()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user