I was java SE developer for quite long time but now I’m starting with android. I saw a lot of android projects and I’m interesting why Loop-switch sequence appears in their code so often. I was always trying to avoid it in my code. Is it really so common and necessery approach in programming for android?
Share
A Loop-switch sequence is to be avoided when used to implement a sequence of events. If being used in event driven programming where the events are not known in advance it is necessary and correct to use the construct.