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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -