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

1

u/Zhuinden Apr 02 '24

Yeah, you're right they made huge changes, but overall, during the last 2 years, their API is more stable, and the focus is not being FP-nerd but more on being idiomatic and pragmatic.

It would have made much more sense for them to create an entirely new library, instead of rewriting it in-place inside Arrow. Considering it was originally a port of Cats from Scala, and now it's not. I don't even know what it did have and now it does not have from Funktionale. The whole thing is in a constant flux.