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

Update Lx.java #777

Closed moderGamer closed 1 year ago

moderGamer commented 1 year ago

feat: add last Version Gson and Androidx(AppCompat)

hasrat-ali commented 1 year ago

Bruh

moderGamer commented 1 year ago

what?

PranavPurwar commented 1 year ago

Sketchware doesn't use gradle, this is useless

moderGamer commented 1 year ago

I know that I did Android Studio to output the project, who knows, maybe Gradle will be supported in the future

devkumar00001 commented 1 year ago

I know that I did Android Studio to output the project, who knows, maybe Gradle will be supported in the future

I know because my project gives error because of wrong gradle version in Android Studio that why I updated it.

devkumar00001 commented 1 year ago

bro! The version you updated is more higher than the Sketchware compile in run build.I think that is why hasrat-ali marked this as invalid.

moderGamer commented 1 year ago

Maybe, but Hasrat should update the Androidx library, can't individual users use a custom library?! @hasrat-ali @TechnicalStudioDeveloper

hasrat-ali commented 1 year ago

Pls don't mention anyone. Will see when we update it.

devkumar00001 commented 1 year ago

Maybe, but Hasrat should update the Androidx library, can't individual users use a custom library?! @hasrat-ali @TechnicalStudioDeveloper

Changing a single line of code to change lib version is not enough in my opinion because updating a lib can break old projects and to prevent them from throwing error Sketchware pro need make it compatible with that version which is hard in my opinion.

devkumar00001 commented 1 year ago

Maybe, but Hasrat should update the Androidx library, can't individual users use a custom library?! hasrat-ali @TechnicalStudioDeveloper

yeah! from user view it is necessary that is why there is Exclude built in lib...

moderGamer commented 1 year ago

Great, so there is nothing left to say, I can also update the libraries, but I'm afraid it will be rejected again

devkumar00001 commented 1 year ago

Great, so there is nothing left to say, I can also update the libraries, but I'm afraid it will be rejected again

😂😹 That's why I am also afraid and made a much small contribution.

moderGamer commented 1 year ago

Yes, it is better for Hasrat Ali or jbk0 to update it because many of the old methods of Android X are obsolete, for example, locking ViewPager, which was removed or changed in version 1.6.1.

JavkhlanK commented 1 year ago

Great, so there is nothing left to say, I can also update the libraries, but I'm afraid it will be rejected again

That's true because I can't trust everyone to do such a complicated task properly.

moderGamer commented 1 year ago

Yes, you are absolutely right, there is no doubt about it, so I leave the update of important and main libraries to you, just try to add it to the latest available version.

and add new Block

recyclerview1.getAdapter().notifyDataSetChanged();

I think you forgot this code, make it public to refresh the data

JavkhlanK commented 1 year ago

There won't be any new Blocks unless they fix a bug or a flaw. Use a Custom Block instead.

moderGamer commented 1 year ago

Done.