Hi I am pretty new to android and I am basically stuck. I have some paths of images (e.g. String Path) and I want to display these images on a GridView
.
This is the class which practically inflates a layout composed of a GridView
.
public class FragmentLayout extends Fragment
{
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
{
//String path = "/mnt/sdcard/Android/data/com.android.browser/files/Download/2014-01-10-00-13-39--1894493676.jpeg";
View rootView = inflater.inflate(R.layout.fragment_layout, container, false);
return rootView;
}
}
Any guidelines please?