Thanks for sharing the detailed debugging journey and solution—really helpful! Have you noticed if this race condition happens mostly on specific devices or OS versions, or is it consistent across all? Also, do you think adding a debounce or throttling tap events could help prevent users from triggering rapid switches that lead to this?
Music App Bug: Songs Broke on Switching — Here’s Why
yogirahulBackerLeader
posted
1 min read
0 Comments
yogirahul
•
Hi Ben, interesting question. Unfortunately I'm not using android studio due to RAM limits otherwise I could answer your first question if this happens on all devices or not.
Regarding your second question, I did used similar method to debounce using future.delayed but it did not work. Throttling tap I didn't want to use because I wanted more flexibility for the users, I wanted to keep such option when nothing works.
Thanks for your great questions Ben.
Please log in to add a comment.
Please log in to comment on this post.
More Posts
chevron_left