android Programming Glossary: imagestatus
Custom ListView adapter, strange ImageView behavior http://stackoverflow.com/questions/9754057/custom-listview-adapter-strange-imageview-behavior and we should put the new image private ArrayList Boolean imageStatus new ArrayList Boolean In your custom adapter constructor initialize.. your adapter a list of something then you should make your imageStatus as big as that list and filled with false the default start.. with false the default start status ... initialize the imageStatus objects is the list on which your adapter is based for int i..
Custom ListView adapter, strange ImageView behavior http://stackoverflow.com/questions/9754057/custom-listview-adapter-strange-imageview-behavior default one otherwise if it is true then the user clicked it and we should put the new image private ArrayList Boolean imageStatus new ArrayList Boolean In your custom adapter constructor initialize this list. For example if you put in your adapter a.. constructor initialize this list. For example if you put in your adapter a list of something then you should make your imageStatus as big as that list and filled with false the default start status ... initialize the imageStatus objects is the list on.. you should make your imageStatus as big as that list and filled with false the default start status ... initialize the imageStatus objects is the list on which your adapter is based for int i 0 i objects.size i imageStatus.add false Then in your getView..
|