Pinned content
View all 2 collectionsMobile Development admins have deemed these posts noteworthy.
Android Frequently Asked Questions
Can you answer these questions?
View all unanswered questionsThese questions still don't have an answer
How to change Metadata in MediaStore Audio files / contentResolver.update always returns 0 updated
Is PKCE still required when ASWebAuthenticationSession or Chrome Auth Tab securely delivers the OAuth callback?
Install referrer not returned when app is installed while signed into a managed Play Store account
How to efficiently extract APK app name and icon using adbkit-apkreader or any other alternative with S3 byte-range requests?
iOS 18.x only: launch-time SIGTRAP in FBSScene _sendUpdate
Looking for an extra challenge?
View all bountied questionsThese questions have a bounty on them
WidgetKit AppIntentConfiguration edit sheet shows stale AppEntity displayRepresentation after underlying data changes
How can I pause a 'repeating forever' animation in Reality Composer Pro 2?
Recommended answers
View all recommended answersThese answers have been recommended
SwifftUI-Changing @State inside view. Should body rerender if @state property is passed to nested view?
Your assumption is not quite right. State does not guarantee that a view will be re-rendered or that its body will be reevaluated. SwiftUI tracks dependencies, not ownership. A view becomes dependent ...
Set size of content area in an AlertDialog
AlertDialog isn't meant to be used this way. The best thing you can do is stop fighting the system and let it display the size it thinks it needs to display. It's design is not to take a fixed ...
Append items to an array in an object in Swift
If your minimum target starts from iOS 17 or higher, you can use @Observable as Leo already responded. If you are supporting iOS 13 or higher, you should get some help from the Combine framework. ...
Android ACTION_SEND to X always returns RESULT_CANCELED after posting successfully
I launch the Android Sharesheet with an ACTION_SEND intent to share an image. You do so using ActivityResultContracts.StartActivityForResult. As you noted, ACTION_SEND is documented to have no output,...
How do I pass a remembered variable to the function call in remember's brackets?
You're architecting your code wrong. In your compose code, you shouldn't be reading preferences, getting data from any source, or doing any work other than displaying UI. These things should all be ...
See what's trending
View all trending questionsThese are the most active questions in Mobile Development Collective
How can I close/hide the Android soft keyboard programmatically?
Why is the Android emulator so slow? How can we speed up the Android emulator?
What is the difference between px, dip, dp, and sp?
How can I stop EditText from gaining focus when an activity starts in Android?
How can I fix 'android.os.NetworkOnMainThreadException'?
Using SwiftData with SwiftUI
Simply submit a proposal, get it approved, and publish it.
See how the process works