Hi, I want to create a SearchView where I want to use lv.AddTwoLinesAndBitmap2 with all the parameters. I had changed the SearchView code with the following ...
I want to set the image file here from FontAwesome. It's a single icon which shows repeatedly. Can anybody help me here. Also for certain condition I do not want to show the image. Thank you in Advance ...
B4X:
Type ItemBM (SearchText As String, Title As String, SecondLine As String, Text As String, ImageFile As Bitmap, Value As Object)
Private Sub AddItemsToList(li As List, full As String)
If li.IsInitialized = False Then Return
For Each it As ItemBM In li
If full.Length > MAX_LIMIT And it.SearchText.Contains(full) = False Then
Continue
End If
lv.AddTwoLinesAndBitmap2(it.Title, it.SecondLine, it.ImageFile, it.Text)
Next
End Sub
I want to set the image file here from FontAwesome. It's a single icon which shows repeatedly. Can anybody help me here. Also for certain condition I do not want to show the image. Thank you in Advance ...