Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

android list index


private ArrayList<String> _categories; // Initialize all this stuff

private int getCategoryPos(String category) {
  return _categories.indexOf(category);
}

Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #android #list #index
ADD COMMENT
Topic
Name
5+6 =