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.
- 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. - Completely removed support for
ListView
andListAdapter
. The entire library now usesRecyclerView
, unless you use a custom view dialog. Your custom adapters will now have to handle item click logic in their own since theRecyclerView
class doesn't do it on its own. RecyclerView is modern, and very fast; it's time to move. - Checkbox prompts. Add a simple checkbox to basic dialogs automatically, which mimics the look of a system permission dialog. See CheckBox Prompts.
- The
FolderChooserDialog
can now optionally allow users to create new folders while browsing. See Folder Selector Dialogs. - 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.