Skip to content

Need a way to restore original toolbar's icon / text #32

Description

@hardysim

I'm using the new version 2.0.0 and MultiChoiceToolbar. Here I need to set an icon and text because it's removed otherwise when the selection is "aborted".

Because I'm using a NavigationDrawer I have the nice hamburger icon but normally it's animated when the drawer is slided. Even when setting the same icon (which I then need to include) the icon looks the same but is no longer animated.

Plus, I'm using the RecyclerView in a Fragment in an Activity and the latter is in charge of the toolbar. This works but I need to get the toolbar-title from the activity again.


It would be great, when the lib would store the previous values for icon / text before "replacing the toolbar" (change those values). When "reverting" to the normal state (not selected any more) the old values should be applied again. This would give us some kind of "toggle" like using the legacy ActionMode.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions