• Optimization
  • Navigation
  • Tracking
  • Maps
  • Places

Overview

The NextBillion Navigation Compose Extension is a robust library that effortlessly combines the NextBillion NavigationView with the Jetpack Compose UI framework.

This extension allows developers to easily utilize the advanced features of the NextBillion NavigationView in their Jetpack Compose applications, improving user experience and functionality.

For a practical approach and step-by-step instructions, you can find a wide range of functional examples in the Compose test application. These examples provide useful tips on how to make the most of the Compose extension, ensuring seamless navigation and interaction in your applications.

Getting Started With Compose Extension

This document is intended for developers who are interested in contributing or building an app that uses the NextBillion Navigation Compose Extension.

Configure its dependencies in your build to add the compose extension to your project.gradle files.

1// In your build.gradle, add the compose extension with your other dependencies.
2dependencies {
3 implementation 'ai.nextbillion:nb-navigation-compose:1.2.3'
4}

You should also become familiar with Google's documentation for Jetpack Compose.

To start using Compose, you need to first add some build configurations to your project. Add the following definition to your app’s build.gradle file:

1android {
2 buildFeatures {
3 compose true
4 }
5
6 composeOptions {
7 kotlinCompilerExtensionVersion "1.3.2"
8 kotlinCompilerVersion "1.7.10"
9 }
10}


Have Questions ?