Closed tp0 closed 5 years ago
that may have todo with array index, but unsure about that part of logic. @BennyKok knows better or?
When a new page is created the desktop renumbers the pages immediately, so when an item is moved to a new page on the left it is saved to the wrong index. I couldn't think of a decent way to fix this without coding in a special case. One possible solution would be renumbering all existing items when a new page is created, but that is not ideal.
I donβt remember, wanna do a rewrite
so i can stop working on OL an fixing things? π
I mean rewrite part of itππ
xd. Maybe we should make sure our communication channels work and we are all in to know what todo. Dont care what but it should work to reach people in group chat^^
Btw, i dont have xmpp now, cuz i am using iphone as my daily driver πͺ, as dkanada still dont have riot, will u guys be interested in using slack?
Why do you dev that then?^^
@dkanada cant you install riot? its available from fdroid too
Riot.im (Open team collaboration) - https://f-droid.org/app/im.vector.alpha
What dev? Just a suggestion.
I mean why develop android launcher when you use mainly an iOS device ππ
Speaking of rewrites, I think the codebase would be much easier to understand if we merged the core with the main app again. The core isn't used by very many projects and it makes working on the application somewhat confusing. Either way works though.
agreeing. what do you think about kotlin vs java as main code part (i know interoptable and stuff, but still, its about writing and reading code, not executing)? @dkanada @BennyKok
I think not much contributors know kotlin well yet, that may change but thats what I feel like and may be the reason that there are no code contribs from community
I personally have no experience with Kotlin yet, although I do want to learn at some point. I am not sure we would get many code contributions regardless though, this is a pretty small project compared to some of the other launchers.
If I'm having enough time to finish and get thumbs up from you two I would do merge-together-again now, with auto-format etc and basic fixes as reported by lint
I see, then maybe we keep on doing those with Java
then maybe we just reset back to as before mflisar-core changes came and try to reimportant new stuff? I'm feeling like not much has changed since that.
@dkanada could you start https://riot.im/app/ in your browser and message me (gsantner:matrix.org) No register or login required? this would make discussing easier.
I agree doing that tho :), so java :)
@dkanada @BennyKok
As we see in the issue above, exactly as thought, yes Kotlin IS a problem for some potential contributors: https://github.com/OpenLauncherTeam/openlauncher/issues/376
@gsantner were you working on merging the core back in or can I get that done today or tomorrow?
Didn't get to it because had release day on Markor and Stringlate yesterday, with 12h+ work^^.
But yep, I'm gonna do it and will write here when I'm done, but please let me start because I noticed several stuff which needs to be fixed also and goes easy in this back-factor way
yea, kotlin did have some impact on the existing java code base
@gsantner I still wanna dev this because I started out this, gonna continue it anyway ha ha, it is still my passion
Note though, I like kotlin and it's features. But the code is basically java converted, and as one would write java code. And the additional thing as above said is, more people know plain java including the one who just wanted to started contributing yesterday.
If we would have really wanted to go kotlin, we should have decided to dump the old code and re-implement, but we didn't.
First kotlin commit:
2d0e860f5d3a5593058903639da16613664576da
After mostly kotlin changes: cebd543ae779c41e4c5e91f5562dfc84551d582f
Last change commit: 956ab27636f736996fc3172a5ff31aa2ee1ca42e
I finished most java-back-migration, core merging and removing+combining interfaces.
Can you guys do the rest? Please exclude SettingsActivity,AboutActivity and the Preference stuff. Gonna fully replace that anyway. Everything else please do.
@sure, i will do the testing tonight
Should be all fine as tested on mine. But would be fine if you could do the left java-back conversation said above :D.
I just renamed to java file and reworked line by line.
Have not try reverting before, tho
its not reverting git, its converting code by hand the other way :D
@BennyKok @dkanada I have completely reworked everything, including but not limited to
I have done really much this week and pretty much did most stuff alone here for months. Now it's your turn again to make it better. Hope I didn't do this to keep working alone on it, as in both contributor and team level :smiley:.
https://github.com/gsantner/opoc/blob/master/shell/android-check-preference-keys-dupplication.sh can be used for pref checking
Repro:
Setting the newly created left-most screen as the new homescreen does not make a difference. Neither does locking the setup.
General information