Parse.com RecyclerView dont show Image
<p>I have a <code>RecyclerView</code> with Parse.com to show a Class and the image is not loading.</p>

<pre><code>@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    recipes = new ArrayList&lt;Recipe&gt;();
    connManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
    mWifi = connManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI);
    mInternet = connManager.getNetworkInfo(ConnectivityManager.TYPE_MOBILE);
    //Parse.enableLocalDatastore(getApplicationContext());

    // Enable Local Datastore.
    if(mWifi.isConnected() &amp;&amp; count == 0) {
        Log.d("Invoke order","first if");
        //Parse.initialize(getApplicationContext(), "HX6n9WMdhKg5BPhC7d22IKHV34jyTst5OHQxtxUD", "U9DotgCbByVP4eZ9oFae61w3Hnno0xFUgefYJOq4");
        ParseQuery&lt;ParseObject&gt; query = ParseQuery.getQuery("Collection");
        progressDialog = ProgressDialog.show(ListActivity.this, "",
                "Update", true);

        query.findInBackground(new FindCallback&lt;ParseObject&gt;() {
            public void done(List&lt;ParseObject&gt; recipesList, ParseException e) {
                if (e == null) {

                    ParseObject.pinAllInBackground(recipesList);
                    Log.d("score", "Retrieved " + recipesList.size() + " recipes");
                    for ( ParseObject obj : recipesList) {
                        final ParseObject object = obj;
                        ParseFile image = (ParseFile) obj.get("File");
                        image.getDataInBackground(new GetDataCallback() {
                            public void done(byte[] data, ParseException e) {
                                Log.d("picture",Integer.toString(data.length));
                                if (e == null) {

                                    bmp = BitmapFactory.decodeByteArray(data, 0, data.length);

                                    ImageView image4 = (ImageView) findViewById(R.id.alarmPic);

                                    // Set the Bitmap into the
                                    // ImageView
                                    image4.setImageBitmap(bmp);
                                    initializeData(object, bmp);
                                    Log.d("mytag", "prblem2");

                                } else {
                                    Log.d("mytag", "coldnt load picture");
                                }
                            }
                        });
                        initializeData(obj, bmp);
                    }
                } else {
                    Log.d("score", "Error: " + e.getMessage());
                }
                initializeAdapter();
                progressDialog.dismiss();
            }
        });
        count++;
    }if(!mWifi.isConnected() &amp;&amp; count != 0) {//error on image
        Log.d("Invoke order","second if");
        ParseQuery&lt;ParseObject&gt; query = ParseQuery.getQuery("Collection");
        query.fromLocalDatastore();
        query.findInBackground(new FindCallback&lt;ParseObject&gt;() {

            @Override
            public void done(List&lt;ParseObject&gt; list, ParseException e) {
                if(e == null){
                    Log.d("score", "Retrieved " + list.size() + " recipes");
                    for(ParseObject obj : list){
                        final ParseObject object = obj;
                        ParseFile image = (ParseFile)obj.get("File");


                        image.getDataInBackground(new GetDataCallback() {
                            public void done(byte[] data, ParseException e) {
                                Log.d("picture",Integer.toString(data.length));
                                if (e == null) {


                                    bmp = BitmapFactory.decodeByteArray(data, 0, data.length);
                                    ImageView image22 = (ImageView) findViewById(R.id.alarmPic);

                                    // Set the Bitmap into the
                                    // ImageView
                                    image22.setImageBitmap(bmp);
                                    initializeData(object, bmp);
                                    Log.d("mytag", "prblem1");

                                } else {
                                    Log.d("mytag", "coldnt load picture");
                                }
                            }
                        });
                        initializeData(obj, bmp);
                    }
                }else {
                    Log.d("score", "Error: " + e.getMessage());
                }
                initializeAdapter();
            }
        });
    }


    setContentView(R.layout.activity_main);
    recyclerView = (RecyclerView)findViewById(R.id.recyclerView);
    manager = new LinearLayoutManager(getApplicationContext());
    recyclerView.setHasFixedSize(true);
    recyclerView.setLayoutManager(manager);

    //added to avoid no adapter set exception
    //recipes = new ArrayList&lt;&gt;();
    RVAdapter adapter = new RVAdapter(recipes);
    recyclerView.setAdapter(adapter);
    adapter.notifyDataSetChanged();
}
private void initializeAdapter(){
    RVAdapter adapter = new RVAdapter(recipes);
    recyclerView.setAdapter(adapter);
}
private void initializeData(ParseObject obj,Bitmap bmp){
    recipes.add(new Recipe(obj.getString("Description"), obj.getString("shortDescription"), obj.getString("Name"), bmp));
    Log.d("score", Integer.toString(recipes.size()));
}
</code></pre>

<p>}</p>

<p><a href="https://i.stack.imgur.com/lHVVr.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lHVVr.jpg" alt="The problem"></a></p>