I am creating project same like this tutorial androidhive previously it was working, but now the image is not showing me enabled storage permission also I am getting error like this
java.lang.ClassCastException: android.support.v7.widget.TintContextWrapper caot be cast to android.app.Activity at com.example.admin.imageloading.ImageLoader$PhotosLoader.run(ImageLoader.java:143)
line no 143 error
Activity a = (Activity) photoToLoad.imageView.getContext();
this is my code please some one help me
