Projetos
Ver no GitHub
adrielcafe/voyager
Sobre
🛸 Uma biblioteca pragmática de navegação para Compose Multiplatform
Desenvolvimento web e de aplicativosO que você pode fazer
- Supported platforms: Android, iOS, Desktop, Web.
- Linear navigation
- BottomSheet navigation
- Tab navigation like Youtube app
Crescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- +2
- em 1 mês
- -3
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Original
Voyager: Compose on Warp Speed
A multiplatform navigation library built for, and seamlessly integrated with, Jetpack Compose.
Create scalable Single-Activity apps powered by a pragmatic API:
class HomeScreenModel : ScreenModel {
// ...
}
class HomeScreen : Screen {
@Composable
override fun Content() {
val screenModel = rememberScreenModel<HomeScreenModel>()
// ...
}
}
class SingleActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
Navigator(HomeScreen())
}
}
}
Turn on the Warp Drive and enjoy the voyage 🖖
Documentation
See the project website for documentation and APIs.
Features
- Supported platforms: Android, iOS, Desktop, Web.
- Linear navigation
- BottomSheet navigation
- Tab navigation like Youtube app
- Nested navigation (multiple stacks, parent navigation)
- ScreenModel (a.k.a ViewModel) integrated with Koin, Kodein, Hilt, Coroutines, RxJava, LiveData
- Android ViewModel integration (with Hilt support)
- Type-safe multi-module navigation
- State-aware Stack API
- Built-in transitions
- State restoration after Activity recreation
- Lifecycle callbacks
- Back press handling
- Deep linking support
Samples
| Stack API | Android ViewModel | ScreenModel | Basic nav. |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
| BottomSheet nav. | Tab nav. | Multi-module nav. | Nested nav. |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Explore projetos relacionados
Carregando…







