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

Material Switch cannot be used in Sketchware Pro Redesign #1009

Closed
TanTai97o opened this issue Oct 12, 2023 · 18 comments
Closed

Material Switch cannot be used in Sketchware Pro Redesign #1009

TanTai97o opened this issue Oct 12, 2023 · 18 comments

Comments

@TanTai97o
Copy link

TanTai97o commented Oct 12, 2023

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
Copy link

guhg commented Oct 12, 2023

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
Copy link

appt2 commented Oct 13, 2023

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
Copy link
Member

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

@appt2
Copy link

appt2 commented Oct 13, 2023

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
Copy link

guhg commented Oct 13, 2023 via email

@appt2
Copy link

appt2 commented Oct 13, 2023

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
Copy link

guhg commented Oct 13, 2023 via email

@JavkhlanK
Copy link
Member

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
Copy link

guhg commented Oct 13, 2023 via email

@TanTai97o
Copy link
Author

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
Copy link
Member

It's unrelated to you, just ignore that.

@appt2
Copy link

appt2 commented Oct 13, 2023

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
Copy link

guhg commented Oct 13, 2023 via email

@JavkhlanK
Copy link
Member

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
Copy link

appt2 commented Oct 13, 2023

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
Copy link
Member

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
Copy link

appt2 commented Oct 13, 2023

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

@guhg
Copy link

guhg commented Oct 13, 2023

Man you guys are like snapping turtles...

@TanTai97o TanTai97o reopened this Oct 16, 2023
@TanTai97o TanTai97o reopened this Oct 16, 2023
@TanTai97o TanTai97o closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants