Skip to main content
1 of 2
Martin Tournoij
  • 27.8k
  • 8
  • 65
  • 79

The most important thing you can do on that question is to provide a Minimal, Complete, and Verifiable example. You code looks complete, and is probably also verifiable in the sense that it actually shows the problem, but it sure doesn't look minimal!

I don't know a whole lot about Android, but I have a feeling this code can be significantly reduced, perhaps down to even a few lines.

Reducing the code means that it's easier to understand the problem since there is less distraction, plus many people simple can't be bothered to read long strips of code, so they're more likely to move on to the next question.


A second thing you can do is try to improve the writing of the text. I know it's not easy for non-native speakers, but there are some obvious mistakes that are distracting: no space after punctuation, space before punctuation, obvious spelling errors that my spell check catches, etc.

No one is expecting you to make it perfect, but every bit helps, and that paragraph is the first impression you give people. If that looks very sloppy (as it does now), then people are more likely to move on to the next question.


All of that being said, I'm afraid that Stack Overflow offers no guarantee of getting a correct answer... So while the above may help, it may not help enough... :-(

Martin Tournoij
  • 27.8k
  • 8
  • 65
  • 79