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:>
There is one more way.
You can pass the viewID or view object in your constructor and set the updated value from the adapter.
viewID
view object
It will work 100%. It was working for me.