public ListLayoutView init(ViewGroup viewGroup) {
        //Inflate the view from the XML resource.
        View.inflate(mContext, R.layout.simple_list_file_browser, viewGroup);
        mAbsListView = viewGroup.findViewById(R.id.file_browser_list_view);
        oldFile = mFileBrowserView.getDefaultDirectory();
        //Display the default dir.

        showDir(mFileBrowserView.getDefaultDirectory());

        return this;
    }
Inflates the layout and sets the list's adapter.

@param viewGroup The ViewGroup to inflate the layout into.
@return A reference to this view's instance.
core/src/main/java/com/filebrowser/ListLayout/ListLayoutView.java