MaterialDrawer icon indicating copy to clipboard operation
MaterialDrawer copied to clipboard

Styling selected Item

Open echthard opened this issue 11 years ago • 1 comments

Hi Mike,

What do you think of the ability to change the selected Item some more?

My suggestion is to make the name BOLD and to change the Badge color for the selected Item. Also I might like to disable the grey background color to indicate which Item is selected.

echthard avatar Aug 23 '15 01:08 echthard

@echthard i have added a new method to do this. You can now provide some logic to modify the view of an item after it was created by the adapter. just provide an OnPostBindViewListener

.withPostOnBindViewListener(new OnPostBindViewListener() {
                            @Override
                            public void onBindView(IDrawerItem drawerItem, View view) {

                            }
                        })

mikepenz avatar Aug 23 '15 16:08 mikepenz