Aiko West
Aiko West

Reputation: 791

Xamarin.Android: TabLayout - Java.Lang.ClassCastException

In my App I am using a TabLayout. The Tabs for the Layout are added programmatically. In 99% of the cases it works fine, but every now and then I get a Java.Lang.ClassCastException while adding a tab. You cannot set a rule in which cases this occurs. It seems to be completely random.

Cleaning the solution and Rebuild helps every time, but I would still know, why this occurs and if there is any way to fix this bug.

enter image description here

Upvotes: 2

Views: 133

Answers (0)

Related Questions