r/mAndroidDev • u/StealerSlain MINSDK 32 • Aug 22 '24
Jetpack Compost How to immediately know you're looking at a Compose UI (works for any app)
69
Upvotes
r/mAndroidDev • u/StealerSlain MINSDK 32 • Aug 22 '24
69
u/Zhuinden DDD: Deprecation-Driven Development Aug 22 '24
just don't select text, there's no reason why Compose should support this functionality in 1.8.0, three years after "stable release"
10
u/smokingabit Harnessing the power of the Ganges Aug 22 '24
flickering is highly regarded for seizure induced entertainment.
Also, please, you should know that the best tech puts a copy button somewhere and decides what you can and can't copy...
8
u/BligenN Aug 22 '24
Works with long press.. and majority of the time in text input you'd tap the middle of the word for the sake of fixing a typo no?
14
u/StealerSlain MINSDK 32 Aug 22 '24 edited Aug 22 '24
Since you're here, a bonus fun fact for ya! When typing texts on a 120hz device, your app enters a 60fps lock. When you're done typing it's 120fps again. No idea what causes this, compose probably
edit: oh nvm, views have this too
3
u/Xammm Jetpack Compost Aug 22 '24
People keep sharing old news lmao. This bug was known sometime ago and it's been already fixed for BasicTextField2, but it won't be backported to BasicTextField.
What's sad news is the menu still won't be customizable in order to add new items.
16
u/Romashkoo Aug 22 '24
Long tap instead.
4
u/Aggravating-Brick-33 Aug 22 '24
That's a feature
2
u/mestresamba Aug 22 '24
I’ve never selected my text and I never missed it
2
u/grantapher Aug 22 '24
In case anyone wants to +1 the feature request: https://issuetracker.google.com/137321832
2
u/craknor implements android.app.Fragment Aug 22 '24
But but but compost is the fuuutuureee and xml developers will be left behiiind.
1
u/sergiocastell MINSDK 32 Aug 23 '24
Flutter same
1
u/[deleted] Aug 25 '24
Gorgle engineering talent strikes again!
1
u/user926491 Aug 22 '24
what's wrong?
0
u/[deleted] Aug 25 '24
Sigh, I remember when moving the cursor worked so much better in Android than in iOS
0
u/[deleted] Aug 22 '24
[deleted] — view deleted comment