bkromhout / Minerva

Minerva is an Android app which helps you to easily organize your eBook library in powerful ways
Apache License 2.0
6 stars 0 forks source link

Show Snackbar with action to create list if no lists exist #66

Closed bkromhout closed 8 years ago

bkromhout commented 8 years ago

Currently, if the user tries to add items to a list and no normal lists exist, they just get a toast that says "You have no lists".

Now that we have an easy way to show Snackbars from anywhere, it'd be better to show that message in a Snackbar, which would also have an action button with text to the effect of "Add List".

This might need to be a bit of a special case, since we'll want to add the items to the list right after it gets created. We may need to create another helper class ("Doer", or something) which lets us take deferred actions... this could also benefit us in many other ways, might want to split out into another issue, but we'll think about that once we get around to this)