Converting base64 into bitmap and loading into recycler view
<p>I'm trying to convert base64 image into bitmap image and then load it using picasso library into a recycler view. However, I get an error whenever I run my code saying I need to pass in a URI into the picasso method. </p>

<pre><code>    public String getImage(){
      Context context =null;

        byte[] decodedString = Base64.decode(image, Base64.URL_SAFE);
        Bitmap decodedByte = BitmapFactory.decodeByteArray(decodedString, 0, decodedString.length);


        ByteArrayOutputStream bytes = new ByteArrayOutputStream();
        decodedByte.compress(Bitmap.CompressFormat.PNG, 100, bytes);

      path = MediaStore.Images.Media.insertImage(context.getContentResolver(), decodedByte, null, null);
        return Uri.parse(path);    
}
</code></pre>

<p>DataAdapter:</p>

<pre><code> Picasso.with(context).load(data.get(i).getImage()).into(holder.reportImage);
</code></pre>