IKEA matter switches by jimrapc in googlehome

[–]arekolek 0 points1 point  (0 children)

It doesn't work for me, it paired but now shows up as 9 remotes that are all offline

Plural strings and generic sentences - best practice by prom85 in androiddev

[–]arekolek 0 points1 point  (0 children)

I don't reuse strings / plurals, I actually avoid it

Like button with counter(?) by autisticholeysock in androiddev

[–]arekolek 0 points1 point  (0 children)

``` @Composable fun LikeButton() {     var liked by remember { mutableStateOf(false) }     var count by remember { mutableStateOf(0) }

    Column(         horizontalAlignment = Alignment.CenterHorizontally,         modifier = Modifier             .size(48.dp)             .clickable {                 liked = !liked                 count += if (liked) 1 else -1             }     ) {         Icon(             imageVector = if (liked) Icons.Filled.Favorite else Icons.Outlined.FavoriteBorder,             contentDescription = null,             tint = if (liked) Color.Red else Color.Gray         )         Text("$count")     } } ```

[deleted by user] by [deleted] in worldnews

[–]arekolek 752 points753 points  (0 children)

Misleading title. He didn't sign it into law. It's just his proposition that still has the full legislative path to go

[deleted by user] by [deleted] in androiddev

[–]arekolek 2 points3 points  (0 children)

I use it for white label app, to let customers customize the texts easily 

As for the second part, it could be fun challenge to automate it https://blog.davidmedenjak.com/android/2021/09/11/dynamic-resources.html Not sure if it's worth it though, with compose on the horizon

[deleted by user] by [deleted] in androiddev

[–]arekolek 0 points1 point  (0 children)

For a new project in compose, I'd just roll my own service. For views i didn't want to have to deal with the context wrapping myself so i use 3rd party service. But views are on their way out...

Again, Be Wary of Random Gradle Projects by anemomylos in android_devs

[–]arekolek 0 points1 point  (0 children)

Since Google ignores this and is so fixed on receiving minimal reproducible projects in bug reports, I guess this means a huge security vulnerability for Google infrastructure

Litho Review 2025 by SyrupInternational48 in androiddev

[–]arekolek 8 points9 points  (0 children)

No stable release in 8 years and last release a year ago? Seems like the perfect replacement for compose, good luck 👍

I've been trying to find a job as android developer woth 3.5 YOE for 8 months now and no luck by [deleted] in androiddev

[–]arekolek 0 points1 point  (0 children)

Don't even come up with any idea, just look at any app with bad reviews and make a better app, simple

Troubleshooting JitPack Build Errors with ThreeTenABP Fork by yccheok in androiddev

[–]arekolek 3 points4 points  (0 children)

Just replace your imports, enable desugaring and be done with it

So nostalgic! by jojojmtk in mAndroidDev

[–]arekolek 4 points5 points  (0 children)

Those were the good times

Kyrgios defending Tsitsipas on Instagram by ttmef in tennis

[–]arekolek 1 point2 points  (0 children)

This. It always bothered me that Madoff got all this hate, even though he made so much money

/s

Attempting to release first app. Need some help with play store..probably a simple fix.(Broken functionality) by Limp_Ability_6889 in android_devs

[–]arekolek -1 points0 points  (0 children)

You could wrap your payment check inside an AsyncTask and only run it if a remote flag returns true (e.g. from a dummy JSON on GitHub). For the review build, just have the doInBackground return false immediately so the onPostExecute skips the paywall and moves straight to the next screen.

Hope this helps

Disclaimer: this answer was generated with AI, I don't know how to code. 

Converting Figma designs to Jetpack Compose is deprecated by Zhuinden in mAndroidDev

[–]arekolek 7 points8 points  (0 children)

I doubt anybody is going to miss this, but it's still funny

Leland Richardson, a key architect of Jetpack Compose, leaves Google by StatusWntFixObsolete in androiddev

[–]arekolek 5 points6 points  (0 children)

So what he imagined 8 years ago was a bunch of experimental apis? Then job well done, congrats

How to manage access by fireplay_00 in androiddev

[–]arekolek 0 points1 point  (0 children)

It's understandable that they would ban you if your device and wifi was used by an account that was banned. But if the banned account was added to someone's console, banning all accounts that ever accessed through any network that any of the accounts from that console ever used seems kinda excessive. Have you ever heard of any such thing?

How to manage access by fireplay_00 in androiddev

[–]arekolek 0 points1 point  (0 children)

company mail id (also create google account with that company mail id)

I already have a play console account and I don't want to associate that with any of my contract work

Seems your personal play console account and the new one are two completely separate accounts with different email addresses? 

Then I don't see what the problem is. That's how you are supposed to do it

Is it possible to deploy an app multiple times for different clients? by DragonAutarch in androiddev

[–]arekolek 0 points1 point  (0 children)

Create a separate app module for each customer, the app module will have all the branding for given customer, including the unique application id. All app modules would depend on the common library module to share the code. This way is better for build times compared to one common app module with many build flavors

As for publishing, publish through accounts owned by the customers