title: How to express a series of integers in an if else statement?
body: <p>Currently I have this if else statement in my code</p>
  
  <pre><code>if (chosenView == findViewById(R.id.playView1) &amp;&amp; (4 &lt;= pointCounter &amp;&amp; pointCounter &lt;= 9) || (13 &lt;= pointCounter &amp;&amp; pointCounter &lt;= 18) || pointCounter &gt;= 22) { }
  </code></pre>
  
  <p>I only want what is contained within the statement to be ran if the chosenView is playView1 AND the pointCounter is equal to 4,5,6,7,8,9,13,14,15,16,17,18, or anything above 22 but I feel like this is sloppy code and not the correct way to do this. Especially since when I remove the parentheses, it gives me an error. Is this correct or is there a better way to achieve this?</p>