I'm trying to build an app that displays images from a Google Drive folder. I am using Glide to retrieve and display those images.
This is what i've tried:
public class HomeFragment extends Fragment {
    public View onCreateView(@NonNull LayoutInflater inflater,
                             ViewGroup container, Bundle savedInstanceState) {
        View root = inflater.inflate(R.layout.fragment_home, container, false);
        LinearLayout linearLayout = root.findViewById(R.id.image_layout);
        linearLayout.addView();
        String url = "";
        Glide.with(new HomeFragment()).load(url).placeholder(R.drawable.ic_dashboard_black_24dp)
                .into();
        return root;
    }
}
 
    