github afollestad/material-dialogs 0.9.0.0

latest releases: 3.3.0, 3.2.1, 3.2.0...
7 years ago

Warning, this is a major release. There are large changes that can break existing code. Also, make sure you are using 24.1.1 of Google's libraries.

  1. Removed AlertDialogWrapper. It was incompatible with new things in this release, and people should move away from it anyways. This library is more about fluidity and customization than it is backwards compatibility, at this point.
  2. Completely removed support for ListView and ListAdapter. The entire library now uses RecyclerView, unless you use a custom view dialog. Your custom adapters will now have to handle item click logic in their own since the RecyclerView class doesn't do it on its own. RecyclerView is modern, and very fast; it's time to move.
  3. Checkbox prompts. Add a simple checkbox to basic dialogs automatically, which mimics the look of a system permission dialog. See CheckBox Prompts.
  4. The FolderChooserDialog can now optionally allow users to create new folders while browsing. See Folder Selector Dialogs.
  5. Prefixed all view IDs with md_ so they don't clash with view IDs in your own applications.

Please check out the tutorial on the front page of this repository. There are various methods with different parameters now (and various methods that were removed altogether), especially the .adapter() method in the Builder. The MaterialSimpleListAdapter in commons also has a new way of setting a click listener.

Don't miss a new material-dialogs release

NewReleases is sending notifications on new releases.