Skip to content

Migrate project to Jetpack Compose#27

Merged
haroldadmin merged 9 commits intomasterfrom
features/jetpack-compose
Nov 28, 2021
Merged

Migrate project to Jetpack Compose#27
haroldadmin merged 9 commits intomasterfrom
features/jetpack-compose

Conversation

@haroldadmin
Copy link
Copy Markdown
Owner

@haroldadmin haroldadmin commented Nov 27, 2021

This PR migrates WhatTheStack to use Jetpack Compose, Android's new declarative UI toolkit.

  • Migrate the library module to Compose
  • Migrate the sample app to Compose
  • Use accompanist SystemUI Controller and Insets module to handle immersive mode

I've maintained feature parity with the existing stable version of the library, but will
release this as a new major release after it's been tested through a few pre-release builds.

@haroldadmin haroldadmin added the enhancement New feature or request label Nov 27, 2021
Copy link
Copy Markdown
Contributor

@msfjarvis msfjarvis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, great work! I've left some minor cleanup related comments but none are a blocker.

Comment thread what-the-stack/build.gradle Outdated
Comment thread gradle/libs.versions.toml Outdated
import androidx.compose.ui.text.style.TextAlign

@Composable
internal fun OutlinedIconButton(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file name is IconOutlinedButton, you should probably rename it to match the function.

@haroldadmin haroldadmin merged commit 5f9b660 into master Nov 28, 2021
@haroldadmin haroldadmin deleted the features/jetpack-compose branch November 28, 2021 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants