I am trying to follow ImageView and GalleryView tutorial and add a galleryview in a fragment class however there is an error that the ImageAdapter cannot be applied to the Tab1F
It needs a Context not a Fragment. Use this new ImageAdapter(getActivity())
new ImageAdapter(getActivity())