android - Send an oobject from activity to fragment -


i have object in main activity stores bunch of data xml document , want able access information on several different fragments display information. how can go doing that

your object can implements java.ioserializable . allowed pit instance of object android bundle putserializable. can use setarguments method pass bundle instance through fragment


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 -