Fragments deprecated in Android P

后端 未结 4 648
无人共我
无人共我 2020-12-08 09:56

I was looking at the documentation and found this

This class was deprecated in API level P.

Why are fragments deprecated in android

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-08 10:21

    Support Library Fragments are here to stay. Google encourages you to use the Support Library versions to get consistent behavior across all API levels, backported bug fixes, and Lifecycle and ViewModel support.

    Old Reference Link(Dead)

    New Reference Link

提交回复
热议问题