An open API service indexing awesome lists of open source software.

https://github.com/shubham16g/super-bottom-navigation

This is Best Bottom Navigation for Android
https://github.com/shubham16g/super-bottom-navigation

andriod bottom-navigation bottomnavigationview chip-navigation custom library

Last synced: 8 months ago
JSON representation

This is Best Bottom Navigation for Android

Awesome Lists containing this project

README

          

# Super-Bottom-Navigation

[![](https://jitpack.io/v/shubham-gupta-16/Super-Bottom-Navigation.svg)](https://jitpack.io/#shubham-gupta-16/Super-Bottom-Navigation)

This is the best Bottom Navigation for Android.

## Gradle

### Add jitpack to the build.gradle (project):
```
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```

### Add the library to the dependencies:
```
implementation 'com.github.shubham-gupta-16:Super-Bottom-Navigation:1.0.6'
```
## Docs

### In XML layout file:

```xml

```
### In Java Activity file:
```java
superBottomNav = findViewById(R.id.superBottomNav);

superBottomNav.setOnItemSelectChangeListener(new SuperBottomNavigation.OnItemSelectChangeListener() {
@Override
public void onChange(int id, int position) {
Log.d(TAG, "id: " + id + ", position: " + position);
}
});
```
### Also add Badges by using:
```java
superBottomNav.setBadge(R.id.action_cart, cartCount);
```