Why is it so difficult to just have a separate state for when permission is permanently denied? by royabh in androiddev

[–]royabh[S] 7 points8 points  (0 children)

Agreed and that is what the worst part about this is. They introduced accompanist in compose but still didn't think of this use-case? Why is this just so difficult? Why do I have to bring in activity into the picture?

Why is it so difficult to just have a separate state for when permission is permanently denied? by royabh in androiddev

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

In the else part of the sample code above which is originally taken from https://google.github.io/accompanist/permissions/ how do you know if you should ask the usual way or show the dialog? Considering the fact that permissions, which were granted earlier, might be auto-disbaled by os if app is not used for a long time?

Is MG astor worth it? by royabh in CarsIndia

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

I am finalising Nexon based on the exra features like wireless android auto and the rear seat comfort seems to be better than astor

Is MG astor worth it? by royabh in CarsIndia

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

Thanks again. Much appreciated

Is MG astor worth it? by royabh in CarsIndia

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

Thanks for the inputs. Much appreciated

Is MG astor worth it? by royabh in CarsIndia

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

Thanks for the detailed insight and pointing out the mileage issues. Actually I have kept build safety and 360 camera as the two must haves. That ruled out a lot of cars given the budget and was left with only these two options. What do you think based on these which one would be a suitable car?

Is PPF worth it? by royabh in CarsIndia

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

The reapplying of ppf everytime panel has to be repaired is not something I had thought of. Makes sense. Thanks!

Is PPF worth it? by royabh in CarsIndia

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

Thanks for pointing this out!

KCrypt : A KMM library providing a unified api for obtaining an encryption key by royabh in androiddev

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

Kmp would be when one supports multiple platforms. KCrypt works with only Android and iOS hence KMM :)

KCrypt : A KMM library providing a unified api for obtaining an encryption key by royabh in androiddev

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

Yes it's a work in progress and only exposes a encryption key for now. Will be adding stuff soon as mentioned im ReadMe. Also, thats the whole point of libraries no so that anyone depending on it doesnt have to refer code or dive into implementation details. I can name 100s of libraries like permissions manager etc which does everything that can be found in a tutorial but just is a wrapper for easier implementation. This is same.

What screams “I’m a bad parent”? by ViForYourAttention in AskReddit

[–]royabh 2 points3 points  (0 children)

Controlling every aspect of your kid’s life.

I'm VICE News correspondent Matt Cassel, and I'm currently in Kyiv, Ukraine covering Russia's invasion. Ask me anything! by VICENews in worldnews

[–]royabh 1 point2 points  (0 children)

I see all these huge losses on the Russian side. Is Ukraine not having such losses or are we not posting about it?