Hello, I would like to ask how can I customize the bottom bar item.

I have two version of icon, one is for inactive state and another one for the active state. I would like to update the icon when user select the bottom bar item. I tried to enclose it with If condition but I'm not sure if I'm doing it the right way. 


Kindly check the example below.

For selected page


Inactive page




Any suggestion would be highly appreciated. Thanks

Hi,

I think you are doing it right. Are you facing any issues with this?

Regards.

Prasad Rao wrote:

Hi,

I think you are doing it right. Are you facing any issues with this?

Regards.

 Hello Prasad, Thank you for replying.

I'm having an problem regarding on how can I get the selected item in the bottom bar so the condition in the icon will be based on that selected item.

 

Hi,

BottomBar has an input called ActiveItem (0 for first item, 1 for second etc), you can pass value for them in the pages and use it in your condition.

Regards.