Fragment lost transition animation after configuration change

前端 未结 5 1145
独厮守ぢ
独厮守ぢ 2021-02-01 15:35

I\'m inserting Fragments into the Activity using this code:

public void onCreate(Bundle savedInstanceState) 
{
    super.onCreate(savedInstanceState);
    setCon         


        
5条回答
  •  有刺的猬
    2021-02-01 16:11

    Okay so this is a bug which also is a problem for native library (not only support library).

    The only workaround I can suggest is to create your own back stack and then handle onBack with your own custom implementation setting the right animation as you go back through your own stack.

提交回复
热议问题