August 2025
Intermediate to advanced
270 pages
6h 16m
English
Before we can navigate to the new fragment, MapFragment, we have to make Hotwire Native aware of it. In HikingJournalApplication.kt, register this and the default HotwireWebFragment with the framework.
| | package com.masilotti.hikingjournal |
| | |
| | import android.app.Application |
| | import com.masilotti.hikingjournal.activities.baseURL |
| » | import com.masilotti.hikingjournal.fragments.MapFragment |
| | import dev.hotwire.core.config.Hotwire |
| » | import dev.hotwire.core.turbo.config.PathConfiguration |
| » | import dev.hotwire.navigation.config.registerFragmentDestinations |
| » | import dev.hotwire.navigation.fragments.HotwireWebFragment ... |
Read now
Unlock full access