Wednesday, November 8, 2017

First step (part 3)

Yesterday I added this functionality:

  1. The last record from the database select at the time of the launch of the Activity for input data
  2. From this entry, the value "Finish" is selected
  3. The received value is inserted in the "Start" field for the next record
  4. The "Date" field is filled with the current date
All this is very primitively implemented in one class. At the end of the first stage, I plan to refactor the code and break down the logic into separate classes and methods.

The existing screens are so primitive that I'm not ready to show them. :)

No comments:

Post a Comment

First step (part 6)

It was done! In the end, I understood why getters and setters are needed. And also, that the auxiliary class logic should be passed to the ...