Xsims / compose-material-stepper

26 stars 4 forks source link

Use it in a Android java project #1

Open Angelk90 opened 1 year ago

Angelk90 commented 1 year ago

Hi @Xsims , congratulations for the library, would it be possible to use it in a Android java project?

Xsims commented 1 year ago

Hi @Xsims , congratulations for the library, would it be possible to use it in a Android java project?

Hi @Angelk90 , thank you for your comment on the library, I don't think it's working on android java project unfortunately because I don't think Jetpack Compose is working in java without Kotlin compiler based on this stack overflow answer.

Angelk90 commented 1 year ago

@Xsims : It would have been nice if it could be done.

In your opinion, if it is used on a widget, could it cause memory problems or other problems?

I have texts that are taken from http, so I don't have to manually enter any text by the user.

Xsims commented 1 year ago

@Xsims : It would have been nice if it could be done.

In your opinion, if it is used on a widget, could it cause memory problems or other problems?

I have texts that are taken from http, so I don't have to manually enter any text by the user.

@Angelk90 maybe you can add Kotlin to your project, like that you will be able to use Jetpack compose and keep your java files.

Do you mean "View" when you say widget ? Right now I don't have enough context to say if it will leak but give it a try !