android - How to send a Parcelable object to a DialogFragment? -
i'm able send data activity1 activity2 typical..
intent intent = new intent(activity1.this, activity2.class); intent.putextra("state", getintent().getparcelableextra("state")); intent.putextra("schools", temp); startactivity(intent); and works fine once i'm @ activity2, issue how make work activity1 dialogfragment? how send parcelable objects , retrieve them once i'm coding dialogfragment? example available out there can point me at?
i think this can help.
using setarguments() , later getarguments() in dialog's oncreate().
Comments
Post a Comment