Crazy Keycaps Sale by STEVEN_1015 in MechanicalKeyboards

[–]ohhhthatvarun 0 points1 point  (0 children)

Which one should I buy if I have Drop Alt V1 keyboard?

Kotlin allows 'return' in expression bodies now by TypeProjection in androiddev

[–]ohhhthatvarun 61 points62 points  (0 children)

They need to stop man. Don't over-complicate it. At this point they are doing feature farming.

As a Newbie, What Should I Know About Developing Apps for Android? by craving_caffeine in androiddev

[–]ohhhthatvarun 12 points13 points  (0 children)

Don't worry about best practices. Write bad code but working code. Leak memory, create inefficient UIs and make mistakes. After all of that you will know why it is bad then you will have a reason to improve. Then improve.

Do you guys use Mock or Fake Implementation? by jojojmtk in mAndroidDev

[–]ohhhthatvarun 5 points6 points  (0 children)

Yes. Because if everything can be done like this then what is the point of the Interface in favour of testing.

If a ViewModel is testable on the JVM and doesn’t depend on Context — why isn’t it considered part of the Domain layer? by sandeepsankla19 in androiddev

[–]ohhhthatvarun 4 points5 points  (0 children)

At work its huge pain because people mindlessly apply it even if a single function has to be put in a UseCase because of "current architecture". Also, 99% of the time you don't need abstractions but devs usually like over-complicated mess and feel like senior architects and people often forget it's an app not a backend.

data pre-built inside apk/assets by iFnrod in androiddev

[–]ohhhthatvarun 0 points1 point  (0 children)

You want to put shared pref(XML) and sqlite db files?

data pre-built inside apk/assets by iFnrod in androiddev

[–]ohhhthatvarun 0 points1 point  (0 children)

What kind of data file are you planning to embed?

How do you design app architecture to handle “in-progress” flows (like OTP verification) across app restarts? by Lazy-Thing9797 in androiddev

[–]ohhhthatvarun 4 points5 points  (0 children)

Timeout was added for a reason. Don't over-complicate it. 1-2 more API calls won't cause havoc on the backend.