[FREE] Fully Clickable Maker

Description

Sets any arrangement Fully Clickable like a CardView or set partially clickable. In this way, There's no need to listen for clicks separately for each component. And you can add ripple effect with a color you want.
There are 5 function blocks and 1 event block

Event:

FullyClickableMaker has total 1 event.
OnClick
Fires when registered arrangements clicked

Methods:

FullyClickableMaker has total 5 methods.

1. SetFullyClickable

sets any layout fully clickable with a ripple effect color you want
SetFullyClickable

Parameter Type
arrangement component
rippleEffectColor number

2. SetClickableExceptClickableComponents

Set any arrangement clickable except children clickable components like buttons, switches etc..
(if you make a component clickable, You can't get it back later.
SetClickableExceptClickableComponents

Parameter Type
arrangement component
rippleEffectColor number

3. DisableClickability

Cancel Clickablity and ripple effect
DisableClickability

Parameter Type
arrangement component

4. SetClickableExceptClickableComponents2

Sets any arrangement clickable except clickable components with system's default ripple effect color
SetClickableExceptClickableComponents2

Parameter Type
arrangement component

5. SetFullyClickable2

sets Fully clickable with system's default ripple effect color
SetFullyClickable2

Parameter Type
arrangement component

:memo: Specifications


:package: Package: com.sincan.fullyclickablemaker
:floppy_disk: Size: 29,21 KB
:gear: Version: 1.0
:laptop: Built & documented using: FAST v5.3.1

:backhand_index_pointing_down:t4: Download Extension

com.sincan.fullyclickablemaker.aix (29.2 KB)

1 Like

You may change the rippleEffect Color as a property, then you methods count will be reduced to 3.