Emre Akcan
Emre Akcan

Reputation: 1160

Android set.text not working

Set.text not working in my adapter. line 66 http://paste.ubuntu.com/24478136/

My opinions; i'm using sliderview in this xml probably sliderview calling the default layout so settext not working. i find these also, but i could not make it

** There is no error, it just not working. doesnt set the text. **

android TextView setText not working

setText() not working

Upvotes: 0

Views: 552

Answers (1)

Bhupat Bheda
Bhupat Bheda

Reputation: 1978

In getView() method why you can inflate view twice.You can inflate view only 1 time,so remove satirView and return just view:

View view = layoutInflater.inflate(R.layout.item_view, null);

And

satirView = layoutInflater.inflate(R.layout.item_view, parent, false);

Remove the last satirView and return the only view.

Upvotes: 1

Related Questions