Android FragmentTransaction commit When?

前端 未结 4 1174
渐次进展
渐次进展 2020-12-05 01:56

I am building a tablet app. In this app there is one activity with two fragments. First fragment is a \"known\" list fragment which is showing a simple one item layout list

4条回答
  •  天命终不由人
    2020-12-05 02:18

    Try running fragmentManager.executePendingTransactions() after committing your transaction but before finding by tag and see if that works for you.

提交回复
热议问题