public FileBrowserView setCustomAdapter(AbstractFileBrowserAdapter adapter)
            throws IllegalArgumentException {
        if (!(adapter instanceof AbstractFileBrowserAdapter))
            throw new IllegalArgumentException("The adapter you pass into setCustomAdapter() " +
                    "must extend AbstractFileBrowserAdapter.");
        mAdapter = adapter;
        return this;
    }
Call this method to use your own adapter for the list/grid view. The adapter must be a
for an example of a GridView adapter.

@param adapter An adapter that is extended from {@link AbstractFileBrowserAdapter}.
@return An instance of this FileBrowserView to allow method chaining.
@throws IllegalArgumentException Thrown if the adapter passed in is not an instance
core/src/main/java/com/filebrowser/View/FileBrowserView.java