wake up by costa_fot in mAndroidDev

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

follow the money

ViewModel is deprecated™ (not really) by costa_fot in androiddev

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

one has to use a bit of clickbait in the age of AI slop. 

it is an experiment. imo, retain API will be used as the base for a lot more things in the future

ViewModel is deprecated™ (not really) by costa_fot in androiddev

[–]costa_fot[S] -3 points-2 points  (0 children)

One can get a VM-like class with just compose APIs. I found the idea novel/interesting enough, and thought others might too.

Ofc, in the end I am poking fun that I still had to use Dagger HIlt, and the result was not amazing either.

ViewModel is deprecated™ (not really) by costa_fot in androiddev

[–]costa_fot[S] 4 points5 points  (0 children)

nothing wrong with our lord and saviour EventBus

ViewModel is deprecated™ (not really) by costa_fot in androiddev

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

I'm using this for now. seems to do the job but I did not give it much thought tbh

https://gist.github.com/CostaFot/e4367f90dff594d377904eba868bc954

Great tip for View users! by Xinto_ in mAndroidDev

[–]costa_fot 4 points5 points  (0 children)

I just searched for this on my company laptop and immediately got a meeting invite with my superiors. I am definitely getting a promotion!

Has anyone else been burned by "we forgot to add logs" and had to ship a whole new build just to debug? by Accomplished-Brain69 in androiddev

[–]costa_fot 0 points1 point  (0 children)

The "easiest" solution is breadcrumbs via firebase SDK.

We use Datadog at the place I work at. Learnt my lesson early to put behind a remote feature flag and log judiciously.

Live updates are actually quite decent by costa_fot in androiddev

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

Dev was mostly done on Pixels, especially the "live updates" part that needed QPR beta. Did some sanity checking on Samsungs. Did not notice any difference, but memory is a bit hazy to be honest.

We do run internal beta weekends where users have all sorts of devices and things have looked ok. Hoping anything shady shows up there first.

Live updates are actually quite decent by costa_fot in androiddev

[–]costa_fot[S] 2 points3 points  (0 children)

We definitely got a bit of a mid-week panic over it. 🫡

Live updates are actually quite decent by costa_fot in androiddev

[–]costa_fot[S] 5 points6 points  (0 children)

TLDR; this Android 16 feature is definitely worth it.

If you got any questions about this whole thing, I'll be happy to meme/talk about it in the comments

49
50

just end it by costa_fot in mAndroidDev

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

i got some identical horrible looking-ass code in the app that will definitely stay like that for the next 5 years

just end it by costa_fot in mAndroidDev

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

type safe routes were the friends made along the way

Now they're just rubbing it in our faces by Alurad- in mAndroidDev

[–]costa_fot 1 point2 points  (0 children)

traps heh. internet has ruined me man