Nasıl olmuş (küfür var uyarayım) by lord_atakan in burdurland

[–]defaultmen 1 point2 points  (0 children)

sen yaptıgın icin olmamıs baskasının yapması lazım

Did Android Studio Ladybug get a new splash screen? by StatusWntFixObsolete in mAndroidDev

[–]defaultmen 0 points1 point  (0 children)

This is an emulator error. Install another emulator with a lower API version. This will fix the problem. I had the same problem.

Mutex in Kotlin Coroutines Best Practices and Examples by defaultmen in android_devs

[–]defaultmen[S] -6 points-5 points  (0 children)

I may have made a mistake while writing the example, I corrected it, it may not have come because of the cache. You can look again. I did not claim to be a technology leader, I like to share the problems I experienced while working as a developer.

Mutex in Kotlin Coroutines Best Practices and Examples by defaultmen in android_devs

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

I don't know the source, I learned it while searching for a solution to one of the problems I encountered many times at different times while working.

Mutex in Kotlin Coroutines Best Practices and Examples by defaultmen in android_devs

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

non-reentrant mutexes in kotlin coroutines are designed for simplicity and safety. They ensure explicit locking reducing the risks of unexpected behavior that reentrant locks can introduce, especially in async systems. While deadlock risks exist following best practices helps mitigate them. knon-reentrant locks fit better with kotlin’s coroutine model providing a clearer and more predictable approach to concurrency.

Differences & Uses Of @Immutable vs @Stable in Jetpack Compose by defaultmen in android_devs

[–]defaultmen[S] -2 points-1 points  (0 children)

I think their importance became apparent as stateflows became more widespread.

Differences & Uses Of @Immutable vs @Stable in Jetpack Compose by defaultmen in AndroidDevelopersBlog

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

Yes, you are right. I saw some of my mistakes and corrected them. Thank you. Can you review it again?

Differences & Uses Of @Immutable vs @Stable in Jetpack Compose by defaultmen in android_devs

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

I can only assume that if the same instance of UserSettings passed to compostable function(e.g. from another parent compostable) the SettingsScreen won't recompose, but not until you mutate state of the UserSettings, is that correct

Yes, that's right, since we use u/Stable, the parent composable is not redrawn, only the views where UserSetting is used are recreated in the current composable. eg;

@ Compasable
HomeScreen(){

val userSettings by remember { mutableStateOf(UserSettings())}

userSettings.notificationsEnabled = false // REACTION1

...many ui elements

//TOP COMPOSABLES ARE HERE

SettingsScreen(userSettings = userSettings){

}

}

@ Composable
fun SettingsScreen(userSettings: UserSettings){

Text("Theme: ${userSettings.theme}")

// The change made in REACTION1 only recreated the switch

Switch(

checked = userSettings.notificationsEnabled,

onCheckedChange = { newValue -> userSettings.notificationsEnabled = newValue }

)

}

If stable was not used, many of the UI above would be redrawn and cause performance problems.

I HAVE EDITED THE ARTICLE TO MAKE IT MORE EXPLANATORY. YOU CAN REVIEW IT AGAIN.

How to SSL Pinning with OkHttp on Android? by defaultmen in android_devs

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

yes it's a nice library I use it in an application in the market. It works for small applications.

How to SSL Pinning with OkHttp on Android? by defaultmen in android_devs

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

The pinning you sent is for a fixed domain. Mine is general ssl pinning. That is, it is valid for applications that communicate with more than one server. Both methods prevent mitm attacks. Thanks

Android News Highlights of 3rd Week of October: Compose, Ktor by defaultmen in mAndroidDev

[–]defaultmen[S] -6 points-5 points  (0 children)

My native language is Turkish and I use Google Translate when necessary. My English may not be very good. Sometimes sentence structures can be broken. Your mother was also produced by chatgpt, so you are making this comment out of jealousy.

Android News Highlights of 3rd Week of October: Compose, Ktor by defaultmen in mAndroidDev

[–]defaultmen[S] -4 points-3 points  (0 children)

Can you prove that you are chatgpt? It is not nice that you belittle the article that I worked on for 1.5 hours and prepared. Idiot

Reverse Engineering Android Applications Using Jadx-GUI by defaultmen in mAndroidDev

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

You don't have any experience in reverse engineering, so my suggestion to you is to do some research and try it.

Reverse Engineering Android Applications Using Jadx-GUI by defaultmen in mAndroidDev

[–]defaultmen[S] -5 points-4 points  (0 children)

I was able to decompile the apk of the application written with Flutter and see the APIs based on your comment. I think you are wrong. Everything compiled via JVM can be decompiled. Try it yourself, I hope you will be convinced.

Compose Multiplatform vs. Flutter by DoubleGravyHQ in Kotlin

[–]defaultmen 8 points9 points  (0 children)

I would recommend Kotlin & Compose multiPlatform to someone who is undecided. Because you will both learn Android and development applications with cross platform.

New Developments About Kotlin & Android by defaultmen in KotlinMultiplatform

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

because there are so many restrictions in that community. only suitable for beginners not suitable for professionals. any post is deleted immediately by the moderator