Skip to main content

All Questions

-1 votes
1 answer
1k views

Duplicate code to avoid performance decrease due to function calls? [closed]

I have a simple list in Java that I need to search using one of two methods. The first method simply returns the position in the list of the first matching element. The second filters out any elements ...
Chris Cirefice's user avatar
4 votes
2 answers
4k views

Class becoming God Object what pattern to use

I am developing Android app and my MainActivity is becoming God Object. By the way native Activity class implementation is some sort of God Object already. The problem is that my activity class is ...
CROSP's user avatar
  • 1,558