Sketchware-Pro / Sketchware-Pro

Sketchware Pro's sources in Java. Now anyone can contribute to Sketchware Pro.
https://sketchware.pro
Other
863 stars 254 forks source link

Material Switch cannot be used in Sketchware Pro Redesign #1009

Closed TanTai97o closed 7 months ago

TanTai97o commented 7 months ago

M3 Switch Building with Sketchware Pro does not work, it crashes the application But built with Android Studio or androidIDE does not have any errors Build with AndroidIDE

Screenshot_20231012_123940_Material Android AIDE

Build with Sketchware Pro Redesign Screenshot_20231012_124022_Sketchware Manager

guhg commented 7 months ago

I have this same issue, I thought I was just doing it wrong lol. Could you send me the Sketchware project so I can further test?

appt2 commented 7 months ago

M3 Switch Building with Sketchware Pro does not work, it crashes the application But built with Android Studio or androidAIDE does not have any errors Build with AndroidAIDE

Screenshot_20231012_123940_Material Android AIDE

Build with Sketchware Pro Redesign Screenshot_20231012_124022_Sketchware Manager

Using last version All AndroidX end Try to test @JavkhlanK main is Lazy to Adding new Library to sk pro

JavkhlanK commented 7 months ago

if you keep spreading misinformation like a kid, we'll have to ban you from here too

appt2 commented 7 months ago

if you keep spreading misinformation like a kid, we'll have to ban you from here too

This information is real, some new methods have been added in the Compat switch, which cannot match the material library with it, and as a result, it gives an error. You can download and test the material switch class in sk pro.

guhg commented 7 months ago

Don't disrespect him though. You could've been a lot kinder in your words. Jav is just doing his job

On Fri, Oct 13, 2023, 8:58 AM appt2 @.***> wrote:

if you keep spreading misinformation like a kid, we'll have to ban you from here too

This information is real, some new methods have been added in the Compat switch, which cannot match the material library with it, and as a result, it gives an error. You can download and test the material switch class in sk pro.

— Reply to this email directly, view it on GitHub https://github.com/Sketchware-Pro/Sketchware-Pro/issues/1009#issuecomment-1761479410, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ3NVFYVV2NJC7M4LLLJTL3X7E3GVANCNFSM6AAAAAA55BW7SY . You are receiving this because you commented.Message ID: @.***>

appt2 commented 7 months ago

Don't disrespect him though. You could've been a lot kinder in your words. Jav is just doing his job On Fri, Oct 13, 2023, 8:58 AM appt2 @.> wrote: if you keep spreading misinformation like a kid, we'll have to ban you from here too This information is real, some new methods have been added in the Compat switch, which cannot match the material library with it, and as a result, it gives an error. You can download and test the material switch class in sk pro. — Reply to this email directly, view it on GitHub <#1009 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ3NVFYVV2NJC7M4LLLJTL3X7E3GVANCNFSM6AAAAAA55BW7SY . You are receiving this because you commented.Message ID: @.>

I told him several times but he doesn't care

guhg commented 7 months ago

Be kind. He's busy all the time. No one is going to help you with that attitude

On Fri, Oct 13, 2023, 9:45 AM appt2 @.***> wrote:

Don't disrespect him though. You could've been a lot kinder in your words. Jav is just doing his job … <#m-8904915794333019063> On Fri, Oct 13, 2023, 8:58 AM appt2 @.> wrote: if you keep spreading misinformation like a kid, we'll have to ban you from here too This information is real, some new methods have been added in the Compat switch, which cannot match the material library with it, and as a result, it gives an error. You can download and test the material switch class in sk pro. — Reply to this email directly, view it on GitHub <#1009 (comment) https://github.com/Sketchware-Pro/Sketchware-Pro/issues/1009#issuecomment-1761479410>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ3NVFYVV2NJC7M4LLLJTL3X7E3GVANCNFSM6AAAAAA55BW7SY https://github.com/notifications/unsubscribe-auth/AJ3NVFYVV2NJC7M4LLLJTL3X7E3GVANCNFSM6AAAAAA55BW7SY . You are receiving this because you commented.Message ID: @.>

I told him several times but he doesn't care

— Reply to this email directly, view it on GitHub https://github.com/Sketchware-Pro/Sketchware-Pro/issues/1009#issuecomment-1761546313, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ3NVF632MUYLULRWG5AEZ3X7FAWRANCNFSM6AAAAAA55BW7SY . You are receiving this because you commented.Message ID: @.***>

JavkhlanK commented 7 months ago

Can you somehow prove that you're not that ninjacoder guy? Until you do, there's enough indices that you indeed are that guy.

guhg commented 7 months ago

Who's ninjacoder? What did he do?

On Fri, Oct 13, 2023, 9:53 AM Javkhlan K. @.***> wrote:

Can you somehow prove that you're not that ninjacoder guy? Until you do, there's enough indices that you indeed are that guy.

— Reply to this email directly, view it on GitHub https://github.com/Sketchware-Pro/Sketchware-Pro/issues/1009#issuecomment-1761561464, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ3NVF4K42DYD52I7VJH7NLX7FBXHANCNFSM6AAAAAA55BW7SY . You are receiving this because you commented.Message ID: @.***>

TanTai97o commented 7 months ago

Can you somehow prove that you're not that ninjacoder guy? Until you do, there's enough indices that you indeed are that guy.

I don't know what's going on here, so can problem be solved or not

JavkhlanK commented 7 months ago

It's unrelated to you, just ignore that.

appt2 commented 7 months ago

I implemented the Switch Material class in Sketchware and found that float thumbPosition = getThumbPosition(); This is the code that does not allow the program to be compiled and I did a little research to find that this getThumbPosition is a new feature in the Compat switch that Sketchware does not have, so it is not possible to use the material switch in Flan's Sketchware because I tested it with the Androidx library that I downloaded. I encountered an error. I hope that the libraries will be updated

guhg commented 7 months ago

Yes, could you send me the project sir that you are testing for material switch?

On Fri, Oct 13, 2023, 10:21 AM appt2 @.***> wrote:

I implemented the Switch Material class in Sketchware and found that float thumbPosition = getThumbPosition(); This is the code that does not allow the program to be compiled and I did a little research to find that this getThumbPosition is a new feature in the Compat switch that Sketchware does not have, so it is not possible to use the material switch in Flan's Sketchware because I tested it with the Androidx library that I downloaded. I encountered an error. I hope that the libraries will be updated

— Reply to this email directly, view it on GitHub https://github.com/Sketchware-Pro/Sketchware-Pro/issues/1009#issuecomment-1761606540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ3NVF77TEI6XJWERAZGNUDX7FE77ANCNFSM6AAAAAA55BW7SY . You are receiving this because you commented.Message ID: @.***>

JavkhlanK commented 7 months ago

Before you use a Local library you of course have to make sure its dependencies are met. The MDC library version Sketchware Pro currently uses (1.6.1) already has access to them. If the library stil crashes, it's not our issue.

And before you whine about us "being lazy" and asking us to upgrade the library again (just like that ninjacoder guy btw), making an upgrade will force every project that uses AppCompat to also include the Kotlin stdlib which will only make projects much heavier than they already are. That means an upgrade is not happening, unless the library suddenly stops depending on Kotlin at runtime.

appt2 commented 7 months ago

Well, why are the programs that I develop with Android IDE not heavy, only sketchware makes the program heavy, this is not logical, and we ask you to update the libraries and add some new libraries like core-kt

JavkhlanK commented 7 months ago

That alone shows that you have no idea what you're talking about (also just like that ninjacoder guy, what a surprise!). *-ktx dependencies are only needed when writing Kotlin code, and since that's basically optional, that's highly unlikely to be added as part of built-in libraries.

appt2 commented 7 months ago

OK, we will deal with it later, I don't have enough time to discuss now

guhg commented 7 months ago

Man you guys are like snapping turtles...