我在Android中的savedInstanceState中放置值有问题.我试图在互联网上找到解决方案,但我没有什么需要.也许有人知道哪里有问题.我需要将HashMap>放到savedInstanceState中,然后检索onCreate方法.有没有人有像这样的问题,谁知道我怎么能解决这个问题.谢谢你的时间.
android hashmap android-fragments android-savedstate
我希望我的应用程序在用户点击按钮时播放随机声音.所以我不想要android自然的声音,我想每次用户点击一个按钮时播放我自己的声音.有谁知道这个问题的解决方案.
android button soundpool android-activity
android ×2
android-activity ×1
android-fragments ×1
android-savedstate ×1
button ×1
hashmap ×1
soundpool ×1