It is necessary to make a list of the seven days of the week. I already gave and found.

How to do it?

Closed due to the fact that the essence of the question is not clear to the participants of rjhdby , ermak0ff , insolor , Vadizar , Denis Bubnov 6 Mar '17 at 7:11 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • Explain that you can not. - Kirill Malyshev
  • 2
    You have chosen a difficult way to study development for a beginner - to ask for every elementary action. Answers can wait for days and never get them. Developers do not like such phrases “I don’t know how to make an array” and they don’t rush to answer them. I recommend not to suffer and to read for a start a couple of books: B.Eckel on Java (how to make an array) and B.Hardy on Android (how to make a list), and ask questions about actual problems, not elementary actions, which are well described in hundreds of sources . - pavlofff

2 answers 2

First of all, learn how ListView is built in Android . To dynamically add days of the week, I recommend creating an array and writing an adapter to it so that the adapter reads the array and passes the data to the ListView (this is also described in the article by reference). If you are learning Android from scratch, I recommend this resource for permanent use.

    Make an array of 7 days, the adapter to the Listview and forward

    • Adapater, it as. It data, and the component displays from it - Nick ELF-M
    • All done, thank you very much. - maksimumka
    • How to ask a question? - maksimumka
    • Write a solution to the problem in more detail to make it easier for users to understand your answer. - Yuri
    • It is not the answer to the question. To leave your comments or ask the author to clarify, leave a comment to the appropriate post. - From the queue of checks - Vadizar