When I make a web service call, on success I want to update tabs content. For this I use "mTabs.notifyDataSetChanged()". After this, the content is changed, but the tabs layout is shift a little bit to the left. I want to mention that the resulting tab's content has the same length, also I use "app:pstsShouldExpand="true"". Even if I put down "mTabs.notifyDataSetChanged()" without changes, the tabs layout if shifting la little bit to the left. Can somebody help me?
When I make a web service call, on success I want to update tabs content. For this I use "mTabs.notifyDataSetChanged()". After this, the content is changed, but the tabs layout is shift a little bit to the left. I want to mention that the resulting tab's content has the same length, also I use "app:pstsShouldExpand="true"". Even if I put down "mTabs.notifyDataSetChanged()" without changes, the tabs layout if shifting la little bit to the left. Can somebody help me?
Tx.