ListView From Sqlite in android

前端 未结 4 2012
天命终不由人
天命终不由人 2020-12-19 16:53

As I searched whole net still in problem with ListView From Sqlite. After searching so much i am trying my project on android hive example Link here. So in this in Database

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-19 17:13

    I solve that adding the function toString to my class object.

    In your case, add that function to the class contact

    public String toString(){
        return name;
    }
    

提交回复
热议问题