I have a fragment that has a sliding tab layout and a view pager with 5 tabs. I start on tab 1, then, i push a different fragment to the back stack, replacing the fragment with the tabs. When, i now navigate back, the fragment with the tabs appears, but the first two tabs are empty (tab/fragment are not shown, but the views are created). If i navigate to the third tab and go back to tabs 1 and 2, the content appears again.
I tried to attach/show the fragment, but this didn't help.
any ideas?
This is the content of my tabs, they all look the same. The ViewClass is the same as well. It implements a Fragment for sure.
<?xml version="1.0" encoding="UTF-8" ?>
<Button
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:local="http://schemas.android.com/apk/res-auto"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="Navigate to 2"
local:MvxBind="Click NavigateCommand" />
Rotation works as expected (if this information makes any difference.)