fragment在跳转时,直接跳转会出现fragment之间重叠,在很多的项目中,都会看到if(某某!=null){FragmentTransaction.remove(); }。而这一条件就很巧妙地解决这个问题了。
动态fragment
最新推荐文章于 2024-11-12 10:18:08 发布
fragment在跳转时,直接跳转会出现fragment之间重叠,在很多的项目中,都会看到if(某某!=null){FragmentTransaction.remove(); }。而这一条件就很巧妙地解决这个问题了。