我正在使用我在上找到的 PagerSlidingTabStrip
the problem is, when selecting tab other than the first tab and rotate the device, the app crashes and throws this error
Unable to start activity ComponentInfo
java.lang.NullPointerException
这个库很棒而且非常有用,但是它有一些像这样的错误。我在嵌套片段上使用它。SetRetain 为 false,因为如果我将其设置为 true,则会导致另一个 backstack 错误。
如果你们遇到这个错误并修复它,请在这里帮助我......谢谢我也在网上搜索并寻找一些信息,但没有解决问题。
- 谢谢