title: Android Palette Trouble Generating
body: <p>Trying to learn Palette but have run into an error. I am trying to use the generate(). But when I type it out I get a line crossing out the <code>.generate</code>. I have been following a tutorial and from my understanding I need this generate function to work in order to get the following function (applyPalette) to populate the colours.</p>
  
  <p>Can anyone offer some assistance? Keeping in mind that I am new to palette and might have missed something small. Thanks</p>
  
  <p><strong>Generate() Updated and Working</strong></p>
  
  <pre><code>private void colorize(Bitmap photo) {
      Palette palette = new Palette.Builder(photo).generate();
      applyPalette(palette);
  }
  </code></pre>