Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Migrate from Views to Compose #5582

Closed
AbdhilahiRWabwire opened this issue Mar 2, 2024 · 3 comments
Closed

Enhancement: Migrate from Views to Compose #5582

AbdhilahiRWabwire opened this issue Mar 2, 2024 · 3 comments

Comments

@AbdhilahiRWabwire
Copy link

AbdhilahiRWabwire commented Mar 2, 2024

What is the user problem or growth opportunity you want to see solved?

There are Views in this application. Users of Views should migrate to Compose.

How do you know that this problem exists today? Why is this important?

There are Views that I would like to migrate to Compose. Migration to KSP complete.

Who will benefit from it?

The entire team and application.

Anything else you would like to add?

Jetpack Compose is the migration that is recommended by the Android and Kotlin teams.

@psh
Copy link
Collaborator

psh commented Mar 3, 2024

Compose is really nice, but I think we need to get through the current migration away from Butterknife and synthetic imports before taking on a large refactor like that. Also, how well do those tools play with a (mostly) Java codebase like this app has?

@AbdhilahiRWabwire
Copy link
Author

AbdhilahiRWabwire commented Mar 3, 2024

All Kotlin tools are interoperable with Java. Migrating from Views to compose can be done 1 View at a time. Also Compose will allow us to remove:

  • Dagger/Hilt
  • KAPT/KSP (I have completed the migration from KAPT to KSP)
  • RX

Replacing them with:

  • Coroutines
  • Inheritance/Struct Embedding
  • State Hoisting
  • Manual Injection/Interfaces.

Update: I am working on implementing this. I am preoccupied with other applications but I am planning a pivot.

@AbdhilahiRWabwire AbdhilahiRWabwire changed the title Enhancement: Migrate from Views to Compose/Migrate from KAPT to KSP Enhancement: Migrate from Views to Compose Mar 13, 2024
@AbdhilahiRWabwire
Copy link
Author

I see the Jetpack Compose Migration has begun.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants