The OCFileListAdapter.swapDirectory() is responsible for displaying files, but it gets called multiple times, causing performance issues and unnecessary loading state changes.
It should load once when the file list is ready, and notifyDataSetChanged() should be called only one time.