com.android.support:design:23.3.0 broken when custom view used in Tablayout
Asked Answered
T

0

10

I am adding custom view to tablayout for that I am using following linked method:

https://guides.codepath.com/android/google-play-style-tabs-using-tablayout

this is working fine. I am using com.android.support:design:23.1.1, but when I update to com.android.support:design:23.3.0 there is a problem:

The custom view is visible but when I call

 viewPager.getAdapter().notifyDataSetChanged(); 

then the custom view is no longer visible, IT'S GONE. Any idea what has changed in 23.3.0 that can affect this?

How can I solve this issue? The same code is working properly in 23.1.1 but not in 23.3.0.

Teryl answered 26/4, 2016 at 6:13 Comment(13)
i assume its a bugPurr
does any one facing ? or they have changed something ?Teryl
I use this.notifyDataSetChanged() in my adapter and it works I have 23.3.0Inshore
this.notifyDataSetChanged() saying cant resolved this method . u also facing same issue ? maytham ?Teryl
it works fine for me, no issuesInshore
viewPager.getAdapter() is the problem ?Teryl
where are you adding viewPager.getAdapter().notifyDataSetChanged()? in that exampleInshore
Let us continue this discussion in chat.Teryl
For me 23.3.0 has wrong colors in a NavigationView. Downgraded to 23.2.0..Aleksandropol
this is present in 23.4 alsoTeryl
I have the same problem. Any issue recommended ?Prickle
I think i found a kind of solution : https://mcmap.net/q/1169437/-tablayout-with-custom-view-broken-on-23-4-0-design-libPrickle
Look like a duplicate question: https://mcmap.net/q/1169437/-tablayout-with-custom-view-broken-on-23-4-0-design-libSubsidiary

© 2022 - 2024 — McMap. All rights reserved.