Skip to content

how can i Tablayout with it #51

Description

@vinayappypiellp

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions