Skip to main content

All Questions

1 vote
1 answer
119 views

How can I refactor complicated method with views in Activity or Fragment?

I am learning Clean Code and Refactoring. And my project has many long method with view access, something like this. private fun updateStatusFragmentUI(statusData: StatusListData.StatusData) = ...
c-an's user avatar
  • 4,160
1 vote
2 answers
131 views

Android whats the best way to name a boolean function that also performs logic?

this is related to API design, on Android: I want to have good coding style, and yes, i realize this is very minor, but let's say i have something like: public boolean ...
David T.'s user avatar
  • 23.5k