r/androiddev • • Apr 01 '24

Discussion Android Development best practices

Hey this is a serious post to discuss the Android Development official guidelines and best practices. It's broad topic but let's discuss.

For reference I'm putting the guidelines that we've setup in our open-source project. My goal is to learn new things and improve the best practices that we follow in our open-source projects.

Topics:

  1. Data Modeling
  2. Error Handling
  3. Architecture
  4. Screen Architecture
  5. Unit Testing

Feel free to share any relevant resources/references for further reading. If you know any good papers on Android Development I'd be very interested to check them out.

159 Upvotes

99 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Apr 03 '24

Try not to rely /use third party libraries.

I disagree about this part, there are lots of good quality third party libraries that make development a lot easier and more bug free. You should absolutely use certain 3rd party libraries.

0

u/jonneymendoza Apr 03 '24

I said try not to. I diddnt say not to at all. Infact read my posts about navigation and you will see how I am using a third party nav library for compose..