Компилятор Java показывает это как ошибку:
Note: Choosing cursor adapter for the return value
since the query returns only 1 or 2 columns
and there is a cursor adapter for the return type.
Для следующего класса:
public class InteractionWithFriendIDs implements Entity {
@Embedded
public Interaction interaction;
@Relation(
parentColumn = "id",
entityColumn = "interactionId",
entity = BindFriendInteraction.class,
projection = {"friendId"})
public List<Long> friendIDs;
}
Сборка завершенауспешно и все работает нормально.
Почему компилятор показывает это?
Есть ли какие-то исправления, которые нужно сделать?
Или мне просто нужно как-то отключить такого рода ошибки?