message: Calculated index instead of using closure
  Not sure the closed over index is always correct. It could be stale? If tabs are added in position 0 for example that will shift other tabs along and make the closure index wrong - haven't tested this but sounds right. Safest to recalculate it
diff: @@ -65,7 +65,7 @@ public class TabBarPagerRTLAdapter extends FragmentStateAdapter {
  void addTab(TabBarItemView tab, int index) {
  tabBarItems.add(index, tab);
  - tab.changeListener = tabBarItemView -> notifyItemChanged(index);
  + tab.changeListener = tabBarItemView -> notifyItemChanged(tabBarItems.indexOf(tab));
  dataSetChanged = true;
  notifyItemInserted(index);
  dataSetChanged = false;
  