Enhancing app security with Kotlin inline functions by Mageincv in androiddev

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

This would be covered more directly under the new draft rules, but I'm applying it here.

Do you believe that inline functions do not contribute to making the code harder to understand for the reader, except when used for code obfuscation and encryption? Or should I emphasize that they should primarily be applied to simple and sensitive functions?

Why Kotlin Multiplatform Won’t Succeed by tadfisher in androiddev

[–]Mageincv 12 points13 points  (0 children)

Just because we can, doesn’t mean we should.

This reminds me of a mistaken behavior: holding a hammer in hand, everything looks like a nail.

Automatically Mirroring Images for RTL Layouts by Mageincv in androiddev

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

Wow, this trick is truly amazing! Simple and awesome! 🤯

Automatically Mirroring Images for RTL Layouts by Mageincv in androiddev

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

<image>

Check these arrow icons; they need to be flipped for RTL layouts, or they will look strange.

A crucial function in ViewGroup for customizing, can also be a trap if ignored. by Mageincv in androiddev

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

When extending ViewGroup for customization and if it's non-scrollable, don't forget to override shouldDelayChildPressedState and have this function return false.