How to fetch edittext value from one activity to recyclerview of next activity?

后端 未结 2 591
没有蜡笔的小新
没有蜡笔的小新 2020-12-12 07:20

I\'m trying to fetch edittext value from one activity and displaying that text in recycleview and storing using room DB....

Basically the idea is adding the address i

2条回答
  •  [愿得一人]
    2020-12-12 07:53

    Please replace your line with

      val  rv=findViewById(R.id.recyclerview)
    

    You have passed the wrong id addressrecyclerview that's why it was assigning null

提交回复
热议问题