how do i put date orderly on each button?
问题 I have 7 buttons. On the first button I display the current date, on the second button I want it to display the date of tomorrow, on the third one the date after that, and so on. I tried several times using Calendar but the app close when this activity open. can someone show me how to use Calendar on my case ? or how to solve this ? public class OrderActivity extends AppCompatActivity { Button dateButton1, dateButton2; Calendar calender = Calendar.getInstance(); Date today = new Date();