Prevent activity from reload after rotation in xamarin, monodroid

前端 未结 3 1832
忘掉有多难
忘掉有多难 2021-01-24 05:18

Ok... So my problem is to prevent from activity to reload after orientation is changed. Basically, what I did is this:

[Activity(Label = \"migs\", ConfigurationC         


        
3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-24 05:54

    Above API 13, you need to include screensize in your ConfigChanges.

    As denoted here.

    Maybe adding that tag to your activity for API13+ will help?

提交回复
热议问题