tompee26 / funtablayout Goto Github PK
View Code? Open in Web Editor NEWAn efficient tablayout for Android with added FUN!
License: MIT License
An efficient tablayout for Android with added FUN!
License: MIT License
this working fine. but when i click on the tab icons, it doesn't change the fragments . please help me. i have to swipe horizontally for changing the fragments
This is my kotlin code:
val viewPager = findViewById<View>(R.id.viewpager) as ViewPager
setupViewPager(viewPager)
val tabLayout = findViewById<View>(R.id.tablayout) as FunTabLayout
val builder =
BubbleTabAdapter.Builder(this).setViewPager(viewPager).setTabPadding(24, 24, 24, 24)
.setTabIndicatorColor(Color.parseColor("#ffa022"))
.setTabBackgroundResId(R.drawable.ripple).setIconFetcher(this)
.setIconDimension(
50
)
.setTabTextAppearance(R.style.BubbleTabText)
tabLayout.setUpWithAdapter(builder.build())
I have taken this snippet from the demo app in this repo. The error message is
java.lang.IllegalAccessError: Illegal class access: 'com.example.ui.MainActivity' attempting to access 'com.tompee.funtablayout.BaseAdapter' (declaration of 'com.example.ui.MainActivity' appears in /data/app/com.example-nljI2D-kMBoReq4uEtCeFg==/base.apk!classes2.dex)
I had Problem When Refreshing View Pager Adapter (Its Shows me Blank Screen ).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.