Integer Array List Adding Elements : <p>I'm having a bit of a problem with an ArrayList I'm trying to use for a clock deep link in Android. I'm just trying to create an ArrayList with the values [1,2,3,4,5,6,7].</p>

<p>Here's what I have right now:</p>

<pre><code>    ArrayList&lt;Integer&gt; daysList = new ArrayList&lt;&gt;();
    daysList.add(5);
</code></pre>

<p>The <code>add</code> is underlined and says "Cannot resolve symbol: add"</p>

<p>Thanks in advance!</p>
