Avoiding manually handling configuration changes

后端 未结 2 1455
旧时难觅i
旧时难觅i 2020-12-22 03:44

This project is an extension of the Master/Detail flow template that can be found in Android Studio. The difference is that this application uses a single Activity and a Vie

2条回答
  •  死守一世寂寞
    2020-12-22 04:31

    Using the MVP pattern might help since Presenters can be created in a way such that they survive configuration changes. I recently came across a series of blog posts aimed at explaining such an implementation of the MVP pattern. I'm sure they'll be of help to you.

    Blogs posts: Part 1 Part 2

提交回复
热议问题