How to Pass Values from Adapter to Activity

前端 未结 5 1338
名媛妹妹
名媛妹妹 2020-12-09 06:17

I am trying to show list of Items along with GrandTotal Amount, but whenever i use this code in my code getting NullPointerException, see below that code:

5条回答
  •  囚心锁ツ
    2020-12-09 07:14

    There is one more way.

    You can pass the viewID or view object in your constructor and set the updated value from the adapter.

    It will work 100%. It was working for me.

提交回复
热议问题