-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#552] Define an initial "BaseScreen" component in compose-template
- Loading branch information
Showing
2 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
template-compose/app/src/main/java/co/nimblehq/template/compose/ui/base/BaseScreen.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package co.nimblehq.template.compose.ui.base | ||
|
||
import androidx.compose.runtime.Composable | ||
|
||
@Composable | ||
fun BaseScreen( | ||
// TODO Base parameters to request on all screens here | ||
content: @Composable () -> Unit, | ||
) { | ||
// TODO Base logic for all screens here | ||
|
||
content() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters