![]() |
1
1
不用每次用户点击Refesh按钮时都创建一个新的Fragment,您只需在MyFragment类中创建一个refreshMethod,并使用MyFragmentation的对象从Parent调用该方法,如下所示:
单击“刷新”按钮:
在refreshList方法中,您可以通知列表
|
![]() |
akhalsa · Android碎片替换没有任何作用 12 年前 |