SpaceTabLayout
SpaceTabLayout copied to clipboard
Not actively maintained, but PR are welcomed
val fragmentList = ArrayList() fragmentList.add(HomeFragment.newInstance()) fragmentList.add(HomeFragment.newInstance()) fragmentList.add(HomeFragment.newInstance()) fragmentList.add(HomeFragment.newInstance()) fragmentList.add(HomeFragment.newInstance()) val adapter = HomeTabAdapter(this, supportFragmentManager, 5) binding.viewPager!!.adapter = adapter binding.spaceTabLayout.initialize(binding.viewPager,getSupportFragmentManager(),fragmentList,savedInstanceState) java.lang.IllegalArgumentException: No view found for id 0x7f080102 (com.nuatransmedia.sliver_spoon:id/viewPager) for fragment HomeFragment{51a71a9...
MyActivity onCreate ``` Bundle bundle=new Bundle(); bundle.putString("name", "From Activity"); bundle.putInt("id", 4); FragmentA fragobjA = new FragmentA(); fragobjA.setArguments(bundle); ``` and this FragmentA ``` @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle...
hi! I need help to fix the following problem. i create 5 tabs one of them with a map and autocompletetextfragment. the map is in tab 2. when I navigate...
2 tabs?
Is there anyway to have less than three tabs? For what I'm working on I only need two.
Can we use this tab layout vertically ?
I've implemented the setCurrentPosition for the library, which can be used with tabLayout.setCurrentPosition(position)
Hello, nice TabLayout design, but can I easily add more tabs ?!
I found that when we use SpaceTabLayout in fragment and reload this fragment ... the view of sub fragment was not loaded properly into this fragment(SpaceTabLayout ) .. please look...
10-31 23:09:14.749 14194-14194/com.example.alfattah.absensiproject E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.alfattah.absensiproject, PID: 14194 java.lang.IllegalArgumentException: You have 3 tabs. at eu.long1.spacetablayout.SpaceTabLayout.initialize(SpaceTabLayout.java:266) and this my code : public class DashboardFragment extends Fragment { public...