Skip to content Skip to sidebar Skip to footer

Baseadapter's Getview() Showing Irrelevant Information

I am having two gridviews. (names that i gave) Top gridview : some number like '123456123456' bottom gridview : contains numbers from 0 - 9 Initially all the items in the gridvie

Solution 1:

Managed to change visibility of topgrid items when i need.

Instead of this

if(topnoObject.isVisited)
{
     h.tv.setText(topnoObject.number);
}

Used the below code.

if(topnoObject.isVisited)
{
    h.tv.setVisibility(View.VISIBLE);
}
else
{
    h.tv.setVisibility(View.INVISIBLE); 
}
h.tv.setText(topnoObject.number);

But still waiting for a more accurate answer

Post a Comment for "Baseadapter's Getview() Showing Irrelevant Information"