Skip to main content

All Questions

Tagged with
1 vote
1 answer
64 views

ListView: setvisibility() forces refreshing all the rows

I have a ListView with rows with different layouts. So I'm using the pattern of ViewHolder. If the user clicks on a row, one sub-layout of the same row must be shown/hidden. viewHolder.btn1....
pozzugno's user avatar
  • 816
0 votes
2 answers
984 views

ListView making textview visible on going out of screen visibility

I have a listview which contains custom layout having 2 textviews (TV1 and TV2) and 1 button. The button is to set the visibility of the textview(TV2) to be VISIBLE or GONE. The button is working fine....
Aishvarya Jaiswal's user avatar
0 votes
1 answer
260 views

ListView is populated but displays no elements

I have googled and searched this site for answer but get nothing ;/ So, here is my problem i have listview which i try to populate with data from database but the list displays nothing. I realy stuck ...
piwowarek102's user avatar
4 votes
1 answer
6k views

Android: ListView tells me it's populated but not displaying items

So I've googled, and scoured SO for an answer to what I think is probably a ridiculous oversight, but here goes. I have a ListView that I'm populating with an ArrayAdapter that I'm building out of a ...
Kimo's user avatar
  • 51
0 votes
1 answer
882 views

List View - setting View.GONE upon menu selection doesn't hide immediately

TLDR: I'm setting myListView.setVisibility(View.GONE);, but it's not dissappearing until later... do I need to let it know somehow that I've changed it's visibility? Or do I need to also hide it's ...
Dave's user avatar
  • 29k