阅读背景:

在Android中使用片段,标签和列表

来源:互联网 

I have an ArrayList of items in the activity that I would like to rearrange and view when I click on the different tabs. I have fragments created for each tab and I already have the rearrangement methods. I do not know how to access the Collection from the activity and pass it into the fragment for arrangement. What is the best way for this;I have an ArrayList of items in the activity th




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: