News for hackers. Stuff that matters.
Re:Show HN: My first Android App – order-taker for family co... by tananaev on Wednesday June 10, 2020 @07:33PM (#23483417)
Nowadays it's recommended to use Fragments instead of Activities, but it's kind of controversial topic.

It looks like you have some hardcoded data. I would move that to resources. You can use some kind of JSON or XML format to store that.

Another thing I would do is split classes into packages. Usually you would have one for UI layer, one for data layer etc.

Re:Show HN: My first Android App – order-taker for family co... by maherdeeb on Wednesday June 10, 2020 @08:08PM (#23483678)
Thanks for your feedback. I tried to use data classes in Kotlin to remove hardcoded data from the main code. In Python, this is easy and very useful. Splitting the classes was confusing. I am sure I am going to make it better in my next App.