Hi all,
I have made customAdapter (which extends BaseAdapter). I want to reuse
the old views..So I am checking
@Override
public View getView(int position, View convertView, ViewGroup parent)
{
ViewHolder holder1;
if (convertView==null)
{
// Inflating it from the layout.. Creating new view
// Setting tag
}
else
{
// Getting tag.. reusing view
}
return converView;
}
I set the same to my gallery widget. Here I am getting the problem..
convertView what I am getting everytime when scrolling is always
null..So I am everytime creating the new one..
The same adapter is working perfectly fine with the listView. Please
help me to fix this ?
will be waiting for the reply. Thanks.
--