Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i Tablayout with it #51

Open
vinayappypiellp opened this issue Oct 10, 2019 · 0 comments
Open

how can i Tablayout with it #51

vinayappypiellp opened this issue Oct 10, 2019 · 0 comments

Comments

@vinayappypiellp
Copy link

Hi,
i want to user tablayout with infiniteviewpager.
Can someone guide me.

Right now i am facing an issue while using it,

Process: com.kotlin.mNative, PID: 7342
java.lang.OutOfMemoryError: Failed to allocate a 108832 byte allocation with 102312 free bytes and 99KB until OOM, max allowed footprint 268435456, growth limit 268435456
at android.view.ViewGroup.addInArray(ViewGroup.java:5361)
at android.view.ViewGroup.addViewInner(ViewGroup.java:5274)
at android.view.ViewGroup.addView(ViewGroup.java:5083)
at com.google.android.material.tabs.TabLayout.addTabView(TabLayout.java:1370)
at com.google.android.material.tabs.TabLayout.addTab(TabLayout.java:620)
at com.google.android.material.tabs.TabLayout.addTab(TabLayout.java:605)
at com.google.android.material.tabs.TabLayout.populateFromPagerAdapter(TabLayout.java:1323)
at com.google.android.material.tabs.TabLayout.setPagerAdapter(TabLayout.java:1314)
at com.google.android.material.tabs.TabLayout.setupWithViewPager(TabLayout.java:1227)
at com.google.android.material.tabs.TabLayout.setupWithViewPager(TabLayout.java:1188)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant