Hi everyone, i want to write this Java ArrayList on B4A:
What is the best way to write this on B4A?
content.Initialize("", ArrayList)
Im creating an array:
Java:
protected Pack(Parcel in) {
identifier = in.readString();
name = in.readString();
publisher = in.readString();
trayImageFile = in.readString();
publisherEmail = in.readString();
publisherWebsite = in.readString();
privacyPolicyWebsite = in.readString();
licenseAgreementWebsite = in.readString();
iosAppStoreLink = in.readString();
stickers = in.createTypedArrayList(Sticker.CREATOR); //this is also and arraylist
totalSize = in.readLong();
androidPlayStoreLink = in.readString();
isWhitelisted = in.readByte() != 0;
}
content.Initialize("", ArrayList)
Im creating an array:
B4X:
'Array As String("identifier","name","publisher,"trayImageFile","publisherEmail","publisherWebsite","privacyPolicyWebsite","licenseAgreementWebsite","iosAppStoreLink","stickers()","totalSize","androidPlayStoreLink","isWhitelisted")
Array As String("12","App","tray","","","","","","","",stickers,"","")
Last edited: