Dao is null while using Dagger2

前端 未结 0 1841
一整个雨季
一整个雨季 2021-02-02 02:29

When i call DAO in presenter, it returns null and causes NPE. Some code here: DAO class

@Dao
public interface ElementsDao {
    @Query("SELECT * FROM   `elem         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题