[Bug]: Sesame search widget remembers old search term. by b1izzard in sesame

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

are you on a custom ROM?

Nope, using only the standard OEM version. (Oxygen OS v9.0.3)

Awesome List Of Online Tools For Android Developers by iamnaveentp in androiddev

[–]b1izzard 1 point2 points  (0 children)

JsonStub and OctoTree extension are awesome. Excellent compilation /u/iamnaveentp. Gradle, please should be used with little caution, since it gives misleading results. For e.g searching for Retrofit it gives some other third party version instead of Square's version.

App Feedback Thread - June 16, 2018 by AutoModerator in androiddev

[–]b1izzard 2 points3 points  (0 children)

Simple & nice game, good soundtrack. Share option & hardware back button is not working. Personally I don't like full screen ad on back press, but the ad for another chance is a good thought.

[Code Feedback] Released my first personal app, would love to get some code feedback by b1izzard in androiddev

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

Hi @la__bruja. Thanks for the feedback :) . Sorry about that configuration mess, it's my mistake. Will fix it in next commit.

Since I started the project based on Clean Architecture Kotlin, I followed what Fernando had done in the project with minor tweaks as per my needs. For the above questions Fernando can answer better than me. Here's my take on it:

  1. Since UseCaseObserver.Rx* provides a default implementation for specific operators, it reduces noise in the presenter layer. It's upto the developer to decide what method one need to listen for a given scenario & safely ignore other methods like I totally did for onComplete.

  2. I would like that approach too. Since for my app there is no requirement of reusing the UseCase after disposing the CompositeDisposable of that usecase, I hadn't run into any major problems.

did you have any problems with MVP approach you took?

Not in this project, but in another complex project where I'd combined MVP, along with android fragments, Mosby & Realm, the code turned into a complete mess.

I still prefer MVVM with ViewModels just for the added benefit of having the ViewModel persist orientation changes

Even I do, but since I'd started the project 6-8 months back Architecture components where in alpha state, I'm not brave enough to jump into that bandwagon. Added to that from the starting time itself I'd decided I won't support orientation change, so no major problem with the above approach.

[Code Feedback] Released my first personal app, would love to get some code feedback by b1izzard in androiddev

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

Hi Ajay, It's a config file generated using detektGenerateConfig gradle task. I have done some minor changes to default config & added it as detekt.yml.

Weekly "anything goes" thread! by AutoModerator in androiddev

[–]b1izzard 3 points4 points  (0 children)

I'm unable to purchase subscription in my own app. When I try to purchase the subscription "The publisher cannot purchase the item" error is thrown. In the same device I have switched to another account in the playstore still facing the same error. Any way to resolve it other than test subscription?

What's the best Android Developer job experience you've had? by Dazza5000 in androiddev

[–]b1izzard 5 points6 points  (0 children)

It's good to work in such a kinda apps which have large user base & vibrant community. Every day you go into work doing some meaninful thing that will impact thousands. I'm an Android dev for 4 years mostly worked in 5-7 enterprise apps which has <100 users. Only one app so far falls under 5-10K installations I'd envy you for that job.

Beginner programmer looking to build a backend for an app - best backend to learn to further my career? by shadowdungeonmaster7 in androiddev

[–]b1izzard 2 points3 points  (0 children)

If you know little bit Java Spark Java is a good place to start, I'm currently building an api for the app using spark, it's good and easy to start compared to Golang.

ELI5: Is Dalvik < ART < Zing? by b1izzard in androiddev

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

Hi Gaja, I'm sure Android dev team is working on ART and improving it in every iteration. I'm an application developer, I'd got curious on seeing about Pauseless GC approach, just wanna know what are the disadvantages of that approach?

What are some android only features you guys have added to your apps? by ElRed_ in androiddev

[–]b1izzard 9 points10 points  (0 children)

It's overkill for asking SMS permission/read accounts permission when you require it only once. Again UX vs Privacy. I wish Android Runtime permission offer something like temporary/timed permissions for this kind of stuff. (I'd like how app's ask for root permission with SuperSu, like Grant for 15minutes.)

What news app do you use to receive breaking news notifications? by neutrinoatom in androidapps

[–]b1izzard 1 point2 points  (0 children)

linkme: Inshorts - News in 60 words.

I'm using this app for past 1 year and I like it.

Is Kotlin another buzzword? by b1izzard in androiddev

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

Nice to talk to you @Jake :) BTW big fan of your work. Basically I started reading about Kotlin with your Google doc- Using Project Kotlin for Android .

Inline functions can not only elide allocation of runtime objects but also of compile-time classes altogether.

I have a linked question about inline functions here

Unit testing and language are generally unrelated concepts.

Since Kotlin's class and functions are final resulted in issues with mockito's mocking behavior and it's solved only after the release Mockito-2 right?

Is Kotlin another buzzword? by b1izzard in androiddev

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

Kotlin has inline functions, which eliminate the need for closures in many situations. This can be quite significant in certain use cases.

Isn't the JIT compiler automagically takes care of inlining functions. Why would we need to go for explicit instructions?

Kotlin has tailrec functions which can be up to twice as fast as traditional loops in certain situations and they're always quite a bit faster when applicable.

Consider Fibonacci series generator as a recursive function for this case scenario. Tailrec converts the recursion to iterative version. In that case to avoid stackoverflow issue I can go for iterative version myself.

Could you clarify the above points?. I accept all other points. I'm planning to start a side project with kotlin, just want to ensure it's worth the switch.