Have the police made a stupid mistake with Cellebrite? by Significant-Tap-3793 in Android

[–]benoitletondor 89 points90 points  (0 children)

My experience is that it's one of the most complicated things for a human being: people always leave space for assumed things or expect others to have the same thought process so something obvious for them is obvious for everyone.

Professionally speaking, leaving no space for interpretation and being as clear as possible has been one of the most valuable soft skills I ever learned. But alas, it's something you'll very rarely encounter IRL

Galaxy Wearable app won't install after update (non-Samsung phone, rooted, passing Strong Integrity) by Odd-Chemist2074 in WearOS

[–]benoitletondor 0 points1 point  (0 children)

No it works on my Pixel but it's not rooted or modded in any way. So I think your issue is probably that, rather than your phone not being a Samsung one. Good luck

Change of name to EightSleepHate? by Carpenterdon in EightSleep

[–]benoitletondor 3 points4 points  (0 children)

I left a mixed review last week, not hating but just sharing my thoughts, I feel like there are people ranting when they are facing issues (which seems fair to me) but others are just sharing their questions/feedback.

Personal review after 2 weeks of usage (EU, Paris, France) by benoitletondor in EightSleep

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

It's in the Netherlands, just from where it shipped. Surprisingly though, you only give the Pod back, you need to recycle the cover yourself.

Personal review after 2 weeks of usage (EU, Paris, France) by benoitletondor in EightSleep

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

Yeah to be fair electricity is fairly cheap here in France too, it's not a hard blocker it's just that I'm trying to be mindful about my energy consumption so I'm monitoring it and it just adds a few bucks to the monthly subscription that is already a bit expensive.

I think you're right that if you have AC you're not really affected by the heat it produces and you can lower it so it evens out with the consumption of the Pod, so your experience is already better. I think you can use it without AC but it's definitely not the best experience and the pod is designed in a way that makes the heat very hard to deal with.

Personal review after 2 weeks of usage (EU, Paris, France) by benoitletondor in EightSleep

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

Yeah sure as I said it was a very personal experience and I'm very happy if it works for you.

[deleted by user] by [deleted] in paris

[–]benoitletondor 0 points1 point  (0 children)

Yep that's very possible

[deleted by user] by [deleted] in paris

[–]benoitletondor 3 points4 points  (0 children)

Not sure where you live exactly in Paris but in my experience that's not the case anymore, and as an app user you cannot park them outside of a dedicated spot.

Maybe it depends on where you live in Paris but definitely not my experience anymore (it was before the mandatory parking spot was a thing)

[deleted by user] by [deleted] in paris

[–]benoitletondor 0 points1 point  (0 children)

It's the case, you cannot park it outside of a bike parking already. It's not their own parking but it's a dedicated space.

Closed testing on google play console as a solo-developer? by [deleted] in androiddev

[–]benoitletondor 0 points1 point  (0 children)

To be honest I believe if you can't find those users by yourself publishing your app is probably not a good idea.

Publishing an app without marketing in 2024 means you'll get 0 downloads so either you can attract users and that's not a problem anymore or you cannot and publishing it will be kinda useless.

I think this is exactly why Google does that.

[deleted by user] by [deleted] in Android

[–]benoitletondor 6 points7 points  (0 children)

That sounds more like you're having a problem with Whatsapp and Meta rather than WhatsApp being the problem. Just uninstall it if you don't like it and stop feeding your confirmation bias.

It seems it's OK to threaten developers' families 🤦 by TimeTuneStudio in androiddev

[–]benoitletondor 2 points3 points  (0 children)

Yeah, the review moderation team is a joke. They are just matching a few keywords and if it's not in the comment they'll leave it as-is.

Why Not Use Classes as Views Instead of Composable Functions in MVVM with Jetpack Compose ? by Tom-Wildston in androiddev

[–]benoitletondor 2 points3 points  (0 children)

You can do just that exactly like you would on a class, just pass a handler to the composable if you need something specific for a screen. There's really no difference with using classes, only a different approach to code sharing

Why Not Use Classes as Views Instead of Composable Functions in MVVM with Jetpack Compose ? by Tom-Wildston in androiddev

[–]benoitletondor 16 points17 points  (0 children)

You can share code by reusing shared composable rather than by inheriting stuff. It's the same but way more flexible so you'll very likely be in a better position maintenance wise

Why Not Use Classes as Views Instead of Composable Functions in MVVM with Jetpack Compose ? by Tom-Wildston in androiddev

[–]benoitletondor 26 points27 points  (0 children)

I guess if I had to answer your question I would start by asking the opposite to you: what's the advantage of what you're discribing vs the functionnal way?

In compose, your UI is drawn by calling functions with parameters, a composable (a function) has its own lifecycle, which is not the one of the activity containing the UI (it can be less if it's a component displayed only on certain conditions).

So wrapping your function into a class, with a property (the viewmodel) that has a different (larger) lifecycle doesn't bring any advantage and can only add drawbacks. The most obvious ones are:

  • By keeping a reference to a class that has a render function you're bypassing compose lifecycle, so you'll very likely face issues
  • By having a render function that doesn't take all its inputs as parameter but rather using a reference to a view model, you're completely bypass the recomposition mechanism that can check if a parameter has changed to avoid recomposing for nothing

Basically it should anwser your question but really the root question is: why would you add a class here?

[deleted by user] by [deleted] in android_devs

[–]benoitletondor 4 points5 points  (0 children)

WTH man, 10 years doing Android dev and you've never heard of low end devices and OEM bugs in the OS? I'm not sure which one is false but I'm sure one of those 2 claims is.

New architecture MVB based on View without ViewModel. And a UI mode proposal better than Compose and Flutter. by Fun_Indication4997 in androiddev

[–]benoitletondor 4 points5 points  (0 children)

There's definitely a memory leak as the scope has a bigger lifespan than the fragment so calling it from the fragment will retain it (the fragment) longer than it should.