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

Use in java #2

Open
tellfa opened this issue May 20, 2018 · 2 comments
Open

Use in java #2

tellfa opened this issue May 20, 2018 · 2 comments

Comments

@tellfa
Copy link

tellfa commented May 20, 2018

Thanks for this great lib.
Can i use this into java?

@frknkntr
Copy link

Yes, you can use this library in java project. But you must add kotlin to your project.

@akhileshsharma
Copy link

Issue in Java implementation. on click of tabs does not work. In debug mode code does not enter to code block where it add onClickListner for tabs in AnimatedTabLayout.kt

tabs.forEach { tab ->
containerLinearLayout.addView(tab)
tab.setOnClickListener {
val selectedIndex = tabs.indexOf(tab)
onPageChangeListener.onPageSelected(selectedIndex)
viewPager.currentItem = selectedIndex
}
}

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

3 participants