0

I'm having problem inserting image to the Expense_items class, even the getter is having a Bitmap value. However, the image in the drawable have a value of int. Why is that?

 enter code heremyList.add(new 
    Expense_items(R.drawable.ic_launcher1,"21341","Transportation Fee"));

here is the error enter image description here

Neha Gangwar
  • 670
  • 9
  • 14
Mark Angelo Bajaro
  • 103
  • 1
  • 3
  • 6

0 Answers0