Skip to content

Commit

Permalink
Adasis example activity
Browse files Browse the repository at this point in the history
  • Loading branch information
DzmitryFomchyn committed Jan 16, 2024
1 parent b2301f6 commit d22dfce
Show file tree
Hide file tree
Showing 6 changed files with 634 additions and 11 deletions.
6 changes: 6 additions & 0 deletions examples/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@
android:label="@string/title_multileg_route">
</activity>

<activity
android:name=".AdasisActivity"
android:label="@string/title_adasis"
android:screenOrientation="portrait">
</activity>

<activity
android:name="com.mapbox.navigation.examples.MainActivity"
android:exported="true">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import androidx.recyclerview.widget.LinearLayoutManager
import com.mapbox.android.core.permissions.PermissionsListener
import com.mapbox.common.LogConfiguration
import com.mapbox.common.LoggingLevel
import com.mapbox.navigation.examples.core.AdasisActivity
import com.mapbox.navigation.examples.core.IndependentRouteGenerationActivity
import com.mapbox.navigation.examples.core.MapboxBuildingHighlightActivity
import com.mapbox.navigation.examples.core.MapboxCustomStyleActivity
Expand Down Expand Up @@ -143,6 +144,11 @@ class MainActivity : AppCompatActivity(), PermissionsListener {
getString(R.string.description_draw_utility),
RouteDrawingActivity::class.java
),
SampleItem(
getString(R.string.title_adasis),
getString(R.string.description_adasis),
AdasisActivity::class.java
)
)
}

Expand Down
Loading

0 comments on commit d22dfce

Please sign in to comment.