Well, when doing a query:
Cursor cursor = database.rawQuery("SELECT nome, imagem, descricao FROM Marcas WHERE descricao LIKE ? OR nome LIKE ?", new String[]{name});
Only returns results through the description, ie the second like is not tested, or does not work. It gives no error, it just does not return anything. If I take the second like it works both by name and by description. But what I need is to search via name and description.
How to solve?