lundi 1 février 2016

using Regular Expression (regex) in android

i have a custom listview that contains (price,company,product) for each rows in listview. i fetch data from local database. i want to add search capability for this listview. i need to search with price, company, product at a time. for example if user write 500 APPLE IPHONE , search should find an item with 500 for price , apple for company and iphone for product and show the list of results. do i need regex for my query? if yes how? i read from someone that android dont support regexp . what is the best way to reach this goal? any idea or sample code for this kind of search? thanks in advance...

Aucun commentaire:

Enregistrer un commentaire