摘要: fragment切换时不要用replace()方法,因为replace方法会销毁fragment再重新创建,这样会消耗性能和消耗流量。用add、hide、show等方法代替。 阅读全文
posted @ 2020-01-06 19:58 only_books 阅读(316) 评论(0) 推荐(0) 编辑