This commit is contained in:
khanhduytran0 2020-10-10 17:01:08 +07:00
parent 020c3c56ca
commit 777d6f9839

View File

@ -1009,7 +1009,8 @@ public class VerticalTabLayout extends LinearLayout {
if (child instanceof TabItem) {
addTabFromItemView((TabItem) child);
} else {
throw new IllegalArgumentException("Only TabItem instances can be added to TabLayout");
super.addView(child);
// throw new IllegalArgumentException("Only TabItem instances can be added to TabLayout");
}
}