https://kotlinlang.org logo
#announcements
Title
# announcements
s

sqia09

09/12/2017, 7:13 AM
Hi, I've got a query regarding the new Parcelable implementation in android-extensions which enables you to annotate a model class with @Pacelize. but I'm having issues using it, as my models contains @SerializedName annotation and there are Arraylist properties too. So can anyone help me out?
g

gildor

09/12/2017, 7:35 AM
What kind issue do you have?
s

sqia09

09/12/2017, 9:55 AM
I can't seem to pass the list to other activity properly
sorry for the late reply as I was trying to make it work
val siteList: ArrayList<RoutesResponse.RouteSite> = it.routeSiteList
startActivity(intentFor<GatewayActivity>(KEY_ROUTE_SITES to siteList))
g

gildor

09/12/2017, 9:58 AM
So what is you error?
s

sqia09

09/12/2017, 10:04 AM
there's no error...the bundle's empty
syntax for sending the list is right?
g

gildor

09/12/2017, 10:06 AM
Try to reproduce this on minimal example, I don’t know what is routeSiteList and intentFor
s

sqia09

09/12/2017, 10:08 AM
i'm using anko
3 Views