How can I collect data in one fragment and show it in another fragment in android studio, I am using Shared Preferences to do this

后端 未结 0 1841
醉酒成梦
醉酒成梦 2021-01-06 19:46

This is the function I made in one fragment to store my value,

  private fun nickdata(){
    

    val sharedPreferences = getSharedPreferences("sharedPr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题