Android File Picker🛩️ v0.6.3 Release Notes

Release Date: 2020-06-25 // almost 4 years ago
  • 🍱 🐬0.6.3

    破坏性更新

    • AbstractFileType 重命名为 AbstractFileDetector
      • 仅重命名
    • AbstractFileType 被弃用,请使用 AbstractFileDetector
      • 因为前者的名字带有误导性
      • 仅作名字变更,其他包括内部接口没有变动,可以直接替换
    • FilePickerConfig#fileType() 被移除,请使用 FilePickerConfig#customDetector
      • 因为前者的名字带有误导性

    内部更新

    • 使用线程池方式进行列表加载的复用
    • 调整 FilePickerActivity 的部分逻辑
    • 调整 FilePickerConfig 部分属性和方法的可见性,防止污染 Java 调用 #73
    • 🏁 移除 fitSystemWindows 属性,防止某些情况下覆盖状态栏 #71

    新增

    • 新增了自定义文件类型的示例 #73

    💥 Breaking changes

    • AbstractFileType renamed to AbstractFileDetector: Rename Only
    • 🗄 AbstractFileType is deprecated, use AbstractFileDetector.
      • Because the former's name is misleading.
      • The only name change, no other changes including internal interface, can be replaced directly.
    • 🚚 FilePickerConfig#fileType() is removed and using FilePickerConfig#customDetector please.
      • Because the former's name is misleading.

    ⚡️ Internal updates

    • Multiplexing of list loads using thread pooling
    • Adjust some of the logic of FilePickerActivity.
    • Adjust the visibility of some properties and methods of FilePickerConfig to prevent contamination of Java calls
    • ✂ Remove the fitSystemWindows attribute to prevent overriding the status bar in some cases

    🆕 News

    • Example of a custom file type has been added #74