BubbleNavigationBarCompose ![](https://camo.githubusercontent.com/5670e85983e68ba7bd210e8b0d99df9f6d406e5ae9d2ccd9831d2a9979830f90/68747470733a2f2f6a69747061636b2e696f2f762f636f6d6d616e6469726f6e2f427562626c654e617669676174696f6e426172436f6d706f73652e737667)
![](https://user-images.githubusercontent.com/50905347/178169979-f8958c33-680d-4a36-bc2e-4123e63f031b.gif)
- Open the file
settings.gradle
(it looks like that)
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
// add jitpack here ๐๐ฝ
maven { url 'https://jitpack.io' }
...
}
}
...
- Sync the project
- Add dependency
dependencies {
implementation 'com.github.commandiron:BubbleNavigationBarCompose:1.0.2'
}
BubbleNavigationBar{
navigationItems.forEach { navigationItem ->
BubbleNavigationBarItem(
selected = currentRoute == navigationItem.route,
onClick = {
//Navigate
},
icon = navigationItem.icon,
title = navigationItem.title,
selectedColor = navigationItem.selectedColor
)
}
}