T
T
Temirlan2016-04-21 15:08:03
Java
Temirlan, 2016-04-21 15:08:03

How to make a field containing an image in the User class?

The task is to display the name, photo and number in the ListView. To display them, I will use a collection, if the name and number are clear, then the image is not. It turns out that the User class will have private String name and private String phoneNumber fields, and the image ? what data should he have?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Gamega, 2016-04-21
@Aukal

and the image? what data should he have?

String
path to the image

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question