since you already show them in lists, i assume you're using a list adapter... these already support searching (filtering). If instead you're creating the rows manually (which isn't the best idea anyhow), you should keep all the parsed information in a data structure, which then can be searched and used to update the list accordingly.
On Sunday, June 2, 2013 2:00:14 PM UTC+3, Darren McEntee wrote: > > Hi there, > I need a little help please. I want to *search and display* content that > is coming from an XML feed on a server, and I'm not sure what the best > way would be to implement this on Android. > I have an app that simply parses XML data from a server, and the segments > are shown in lists on each tab, similar to the image below. > > I have implemented a search feature in the ActionBar, but I'm not sure how > to get a handle on the search data results, as the XML data is simply > parsed and displayed on each tab list. > Any ideas how this should be approached for search? i.e. would i need to > do it in such a way, that after the XML feed is parsed within, then somehow > extract some segments that contain the search term? > Any tips appreciated. > > Thanks, > Darren. > > <http://www.visualdesign.ie/tmp/01.png> > > > > -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

