Search Results

Search found 31 results on 2 pages for 'pocoa'.

Page 2/2 | < Previous Page | 1 2 

  • Iterating ListView items in Android

    - by pocoa
    I want to iterate a list of items into a ListView. This code below is not enough to iterate all the items into the list because of the weird behaviour of getChildCount() function which only returns the visible item count. for (int i = 0; i < list.getChildCount(); i++) { item = (View)list.getChildAt(i); product = (Product)item.getTag(); // make some visual changes if product.id == someProductId } My screen displays 7 results and when there are more than 7 items into the list, it's not possible to access to the 8th item or so.. Only visible items.. Should I use ListIterator instead? Thanks.

    Read the article

  • Words doesn't starts with numbers

    - by pocoa
    I have a string "one two 9three 52eight four", so I only want to get "one two four", because "three" starts with "9" and "eight" starts with "52". I tried: "(?!\d)\w+" but it's still taking the "three" and "eight". I don't want it.

    Read the article

< Previous Page | 1 2