Last active
July 19, 2016 09:32
-
-
Save yishai-glide/7959a13e258c994b70e373acf2a785c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void addItem(ergebnisseListView item, int location) { | |
if(location > 0 && location < listData.size()) { | |
listData.add(item, location); | |
} else { | |
listData.add(item); | |
} | |
notifyDatasetChanged(); | |
} | |
public void addItem(ergebnisseListView item) { | |
addItem(item, -1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment