android - how to split a string of data into different list views? -


would able split string of data starting <newdata> several different objects inside such <schedule> ending in </schedule> , ending on </newdata>. split several list views each schedule in different list view? quite difficult explain thing i've missed say...

umm i'll give hint,

 string stuff = "<schedule> save kittens </schedule> " +                              "<schedule> , puppies </schedule>" ;   string [] result = stuff.split("<schedule>");  for(int = 0; < result.length; i++)  {           if(result[i].length() > 0)             log.d("todo", " - " + result[i].substring(0, result[i].indexof("<")));  } 

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -