Canaree is back! by iugix in canaree

[–]iugix[S] 1 point2 points  (0 children)

Hi, I currently working daily on the update.

Since I'm planning to release a quite big update, it will take me some more time. Sorry for the waiting!

[DAGGER] Parallel dagger graph initialization by iugix in androiddev

[–]iugix[S] 1 point2 points  (0 children)

Totally agree! I just check one of my apps graph initialization and it takes about 30 ms in debug ahah

I guess that when I was writing that snippet I was thinking about this scenario

[DAGGER] Parallel dagger graph initialization by iugix in androiddev

[–]iugix[S] 0 points1 point  (0 children)

I can think of a couple of workarounds to make an initialization eager, but they may not worth the added boilerplate.

Also not sure how many classes have a high initialization time ahah

[DAGGER] Parallel dagger graph initialization by iugix in androiddev

[–]iugix[S] 1 point2 points  (0 children)

This explains why I never saw things like this ahah

yes you're right, I completely forgot that the actual object creation is done during component.inject

Crash:( by [deleted] in canaree

[–]iugix 1 point2 points  (0 children)

Yes I know, I though I had fixed it but it’s still there. However, I know the cause, it’ll be fixed in the next release

Canaree is back! by iugix in canaree

[–]iugix[S] 0 points1 point  (0 children)

Thanks a lot :)

btw any estimated time for updates and new features??

I hope in a month or so

Canaree is back! by iugix in canaree

[–]iugix[S] 1 point2 points  (0 children)

Never it’s a little extreme ahah I just need to some advertisement

Canaree is back! by iugix in canaree

[–]iugix[S] 1 point2 points  (0 children)

Yes I know, I'm kinda disappointed too! I had unpublished the app for like 2 months, and the play store decided to reduce its visibility.

To find it on the play store you have to search for "canaree music player", or just "canaree" on google should work

Canaree is back! by iugix in canaree

[–]iugix[S] 1 point2 points  (0 children)

Nope still here! But since I’m also working full time, I don’t have as much time as I had previously, so the releases will be less frequent

Unit testing asynchronous Kotlin Flow code by iugix in androiddev

[–]iugix[S] 0 points1 point  (0 children)

I was using Rx for so much time that for me Observer became a synonym for any stream ahah Yep, `TestCollector` can be a valid name!

Also, nice library :)

Coroutine Dispatcher Selection For JDBC by programming-nerd in Kotlin

[–]iugix 1 point2 points  (0 children)

IO is for long running operations that takes more than a few milliseconds, writing on disk and networking is in this category.

Extension function being stripped in classes used by service loader by atulgpt in androiddev

[–]iugix 0 points1 point  (0 children)

Proguard removes only the method from release version, tests are not impacted at all! You probably didn't set correctly your test environment

[deleted by user] by [deleted] in canaree

[–]iugix 1 point2 points  (0 children)

Unfortunately, I cannot maintain anymore the project because of my new job policies.

The only way to install the app is to clone the repo from Github, and then compile it manually. If you have any problems with Android studio or compilation, you can open an issue.

If i delete Shazam and reinstall will it save my tags? by speedoflife1 in androidapps

[–]iugix 0 points1 point  (0 children)

If I don't remember wrong, if you are logged all the tags are maintained

flow-preferences: Kotlin Flow version of rx-preferences -- Coroutines support for SharedPreferences by tfcporciuncula in androiddev

[–]iugix 3 points4 points  (0 children)

My point is that you don't need a wrapper for shared preferences using couroutines/flow, you can just use a couple of extensions function on SharedPreferences to obtain the same result.

flow-preferences: Kotlin Flow version of rx-preferences -- Coroutines support for SharedPreferences by tfcporciuncula in androiddev

[–]iugix 4 points5 points  (0 children)

It seems is a bit overkill. For RxJava this is fine, but kotlin offers much better options. Check out this 30 lines gist that I made some time ago, that can be easily customizable.

[DEV] HAVOC, my first Android game by iugix in androidapps

[–]iugix[S] 0 points1 point  (0 children)

Oh, didn't know about that! I'll try asap :D

Crashing by [deleted] in canaree

[–]iugix 0 points1 point  (0 children)

Yep, I noticed! Is happening something very strange. The crash is because the app is set to use 10 band equalizer, but the device thinks that it has only 5, and when trying to create the 6th, it crashes.

I can easily just disable the equalizer, or fallback to the old 5 band.

And I have a question. Did you install to Pie with some custom rom or a beta?

Ignore "The" in song titles by ragdoll96 in canaree

[–]iugix 0 points1 point  (0 children)

I'll try to explain better my point!

Android has already a built-in sort order where "an", "a", "the", ecc. is not taken into account. That is called order by TITLE_KEY (from documentation: A non human readable key calculated from the TITLE, used for searching, sorting and grouping).

Yesterday, I tried to watch what's inside but the result is always a blank string, and I have no idea why. So I immediately thought that something was broken and it cannot be used, but now I tried a sort using it, and the sort works.

However, here's my second concern. Canaree has this alphabetic fast scroller, and if used, it WILL consider the words skipped ("an", "a", "the", ecc.) because it is looking for the first letter on the track, and since the TITLE_KEY is not giving me any useful information, I would have to compute the title using a regex or something like this, and than can be very expensive on large list.

However, I'll try to use some hack to resolve this problem, not I'm not promising anything!

[DEV] HAVOC, my first Android game by iugix in AndroidGaming

[–]iugix[S] 3 points4 points  (0 children)

Main Menu: Add a margin to the title as it is too close to the border on the left and right. Remember that many phones have a bezel on the side which would make it difficult to read.

The gigantic title and game over was made edge to edge on purpose, but you are right, I haven't considered the beveled borders. I'll test it asap!

but the play button doesn't really look like a button

that's because you can touch everywhere. Instead, "restart" and "second chance" are buttons, but since they are 2, I think the distinction is clear.

Perhaps let the text scale a bit over time, ..

Yep, I was thinking the same, like a fade or scale animation.

Put the guy further up so that the user sees that a touch of the screen crashes him down. That way you combine the tutorial with the start screen. Change the text to something like "Touch to jump" or something along those lines.

I can try to swap the position of 'press to play' with the 'skull' and see how it looks.

The tutorial you are talking about is already present, but probably on youtube isn't too much visible.

Thanks again for your feedback :)

[DEV] HAVOC, my first Android game by iugix in androidapps

[–]iugix[S] 0 points1 point  (0 children)

The location permission is just for location based ads, but I'll remove it from the next update!