Droppers / AnimatedBottomBar

A customizable and easy to use BottomBar navigation view with sleek animations, with support for ViewPager, ViewPager2, NavController, and badges.
MIT License
1.39k stars 111 forks source link

Use with Pager? #1

Closed goodibunakov closed 4 years ago

goodibunakov commented 4 years ago

Is it possible?

Droppers commented 4 years ago

I assume you mean ViewPager?

goodibunakov commented 4 years ago

I assume you mean ViewPager?

ViewPager, yep ;)

Droppers commented 4 years ago

I assume you mean ViewPager?

ViewPager, yep ;)

I have added a setupWithViewPager() method, use version 1.0.2 :)!

goodibunakov commented 4 years ago

Great! I'll try. Can you add some example to readme?

Droppers commented 4 years ago

I have added an example of how to use it: https://github.com/Droppers/AnimatedBottomBar#usage-with-viewpager

The demo app also contains an example: https://github.com/Droppers/AnimatedBottomBar/blob/master/demo/src/main/java/nl/joery/demo/animatedbottombar/ViewPagerActivity.kt

You'll still need to define the tabs yourself.

merdanch commented 4 years ago

I have added an example of how to use it: https://github.com/Droppers/AnimatedBottomBar#usage-with-viewpager

The demo app also contains an example: https://github.com/Droppers/AnimatedBottomBar/blob/master/demo/src/main/java/nl/joery/demo/animatedbottombar/ViewPagerActivity.kt

You'll still need to define the tabs yourself.

waiting for ViewPager2 :)

Droppers commented 4 years ago

@merdanch I'll implement it as soon as I have time!

Droppers commented 4 years ago

@merdanch I have added setupWithViewPager2() method!

Droppers commented 4 years ago

Let me know if it works as expected!

abdulazizahwan commented 4 years ago

I have added an example of how to use it: https://github.com/Droppers/AnimatedBottomBar#usage-with-viewpager The demo app also contains an example: https://github.com/Droppers/AnimatedBottomBar/blob/master/demo/src/main/java/nl/joery/demo/animatedbottombar/ViewPagerActivity.kt You'll still need to define the tabs yourself.

waiting for ViewPager2 :)

Page not found