mikepenz / MaterialDrawer

The flexible, easy to use, all in one drawer library for your Android project. Now brand new with material 2 design.
https://mikepenz.dev
Apache License 2.0
11.67k stars 2.05k forks source link

Horizontal items in CustomItem #2132

Closed KhalilTB closed 6 years ago

KhalilTB commented 6 years ago

I have CustomItem that contains items in horizontal order, image attached.

screen shot 2017-12-03 at 12 01 11 pm

Is it possible to make one of them selectable without selecting the whole row? Like just enlarging the size of selected item. Currently when I want to select an item the whole row is selected and unable to find a solution so far

mikepenz commented 6 years ago

@KhalilTB well that is up to you. You will have to handle this in your CustomDrawerItem.

Basically you make the whole item not selectable, and you have to internally handle the selection and keep the selected state through configuration changes..

mikepenz commented 6 years ago

Close until new infos are provided