Skip to content

v5.0.0

Compare
Choose a tag to compare
@AlexV525 AlexV525 released this 09 Mar 06:35
ad51486
  • Add ability to show the special item when the device has no assets.
  • Allow users build their own picker with custom assets types. (See example for custom delegate.)
  • Slightly reduce performance consume with layout.

Breaking changes

  • Migrate to non-nullable by default.
  • CustomItemBuilder -> SpecialItemBuilder, CustomItemPosition -> SpecialItemPosition .
  • Abstract AssetPickerBuilderDelegate<A, P>, AssetPickerViewerBuilderDelegate<A, P>,
    AssetPickerProvider<A, P>, and minify the AssetPickerViewerProvider<A>. Support
    custom types by generic type.
  • The assets param in AssetPickerViewer.pushToViewer is now previewAssets .