iOS Question Similar to searchview ( with pic )

tufanv

Expert
Licensed User
Longtime User
Hello,

I am mainly using searchview to make users search between available items. For a new project , I want to add a picture to search results like imdb app. Every item will have a small picture near it so for each search item there will be a label and also a pic which needs to be filtered as the users types in to searchbox. What is the easiest way to achieve this ? With modifying the current searchview ? If yes , will it be fast and can you give some advices on how to do it ?

Thanks
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
It shouldn't be complicated to do it. You will need to make a few changes in SearchView code.

The indexing and search speed will not be affected. Make sure not too show too many items at once and avoid loading large bitmaps.

The items are added in AddItemsToList.

You can create a global map that maps between the item text and the bitmap and then add the bitmap to 'tc'.
 
Upvote 0
Top