About this project

filepicker is a high-performance, versatile media and file picker library designed specifically for the Android platform. It combines the classic visual styles of WeChat and Douyin, and innovatively implements a smooth slide-to-select multi-select gesture similar to Huawei's gallery, greatly enhancing the user interaction experience. The library not only supports smooth preview and selection of images, videos, and GIFs, but also fully supports audio, various office documents (PDF, DOC, PPT, Excel, TXT), APK installation packages, and multiple archive formats (ZIP, RAR, 7Z, etc.). In addition, it provides a powerful custom suffix filtering feature, allowing developers to freely combine any file suffixes for filtering. In terms of performance and architecture, filepicker has been deeply optimized: - Excellent loading performance: the media library scanning mechanism is optimized to avoid blocking the main thread, and it can load instantly even with tens of thousands of images. - Smooth interaction: selection state management uses hash table optimization, and drag-and-drop and slide multi-selection maintain O(1) complexity at the thousand-item level. - Highly customizable: through FilePickerUIConfig, developers can easily customize the display of top category tabs, bottom preview, original image option, folder alias mapping, and various prompt texts. - Strong compatibility: perfectly adapts to Android's bottom virtual navigation bar, supports Activity and Fragment invocation, and provides practical features such as single-selection immediate return and preselected lists.