254
Views
4
Comments
How to hide and show Floating button based on some condition
Question

Hi,

I am new to mobile development, I am using floating action i want to show floating button when list item is selected and hide when its get unselected. I have tried it to enclose in container and set the visibility of container based on list item is selected but its not working. Any one please tell me something i should try for it..........

UserImage.jpg
Ellakkiya

Shrinjala Singh wrote:

Hi,

I am new to mobile development, I am using floating action i want to show floating button when list item is selected and hide when its get unselected. I have tried it to enclose in container and set the visibility of container based on list item is selected but its not working. Any one please tell me something i should try for it..........

Hi Shrinjala Singh,

So that your requirement is floating action inside the list item or common floating action on the screen.

can you explain your requirement clearly. so that, community members will help you !


2024-12-02 12-15-17
Aravind EONE

Can you share the screenshot of what you are asking.

2019-06-14 09-28-13
Seema Pandey

Shrinjala Singh wrote:

Hi,

I am new to mobile development, I am using floating action i want to show floating button when list item is selected and hide when its get unselected. I have tried it to enclose in container and set the visibility of container based on list item is selected but its not working. Any one please tell me something i should try for it..........


Hi Shrinjala,

1. add a boolean structure as a source to your aggregate

2. bind your checkbox to that Boolean value, that you have added to your aggregate

3.  enclose the button in a container and set the visibility of container to the selected value of check box

I have Followed these steps and its working fine.

https://seema-pandey.outsystemscloud.com/PreviewInDevices/?IsMobilePreview=True&DeviceName=Smartphone&URL=/ToDo/Empty?_ts=637116649466768897

It may help you.


2020-12-07 13-51-26
Shrinjala Singh

@ Seema Pandey,Thank you for response but this is not working for the floating block..

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.