android - design pattern - many simple receivers vs one complex reciever -
I have an Android app that includes many types of text views that display different types of incoming data (speed , Direction, temperature, level ...). However only a handful is visible on any one screen.
So my question is: What is the smallest implementation? Should I have a broadcast receiver (to open the incoming data and update various textview as appropriate-complex) or every TV should register its own receiver and update itself as much as possible - simple < / P>
I'm not sure how much upper part of the receiver has this, for now I have implemented this as the second option because it is well The system protects the system, but I think the receiver of the off-screen sequences are still firing and there is no one / the receiver register / cancel the accountability due to the restart methods for the responses are important so I have to make the application as much as possible Want to keep the light
Thanks in advance
Comments
Post a Comment