invalid statement in fillwindow() in Android

后端 未结 1 474
暖寄归人
暖寄归人 2021-01-19 06:02

I newbie in Android and before ask question here i was googling, but on this question i can\'t find answer. (also this stackoverflow.com/questions/4195089 don\'t have answer

1条回答
  •  生来不讨喜
    2021-01-19 06:30

    private DatabaseHelper myDbHelper; 
    ...
    public void onStart() {
         DatabaseHelper myDbHelper = new DatabaseHelper(this);
    

    I removed the declaration DatabaseHelper in onStart. That fixed the ERROR/Cursor(1512)

    0 讨论(0)
提交回复
热议问题