您好我想使用西里尔语使我的android RecyclerView Cursor适配器不敏感。当我打印任何西里尔符号时,一切都还可以,但完全没有反应。我的Sql请求是下一个:
@Override
protected FilterResults performFiltering(CharSequence constraint) {
FilterResults results = new FilterResults();
String value = constraint.toString().toLowerCase();
String selection = "LOWER("+ContactsContract.Contacts.DISPLAY_NAME+") LIKE '" + value + "%' ";
Cursor cursor = app().getContentResolver().query(ContactsContract.CommonDataKinds.Phone.CONTENT_URI, null, selection, null, SqlCursorLoader.DATE_SORT_ORDER_ASC);
results.values = cursor;
return results;
}