custom font in android ListView

后端 未结 8 707
清歌不尽
清歌不尽 2020-11-29 06:15

I\'m using a custom font throughout my application (which, incidentally, I\'ve frustratingly found out that you have to apply programmatically by hand to EVERY control!), an

8条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-29 06:48

    Looks like the constructor is wrong

    change it to:

    public MyAdapter (Context context, List objects) {
        this.context = context;
        this.objects = objects;
    }
    
    
    

    it worked well for me.

    提交回复
    热议问题