I have a method in adapter using recyclerview I basically display some elements of `cardViews`.

How to trigger method on other element where usually I use

```
cardView.setOnClickListener {
// MY action on specific} cardView element

```

for example when I click third element, `<MY ACTION>` happens in second element?
Inside cardView I can i.e use:

```
statusButtons.toggleVisibility(!statusButtons.isVisible)

```

but it will only work when I trigger actual element using method

```
cardView.setOnClickListener { }

```

I have found something similiar
[How to access all cardviews in a recyclerview, on item click of a particular cardview](https://stackoverflow.com/questions/61210762/how-to-access-all-cardviews-in-a-recyclerview-on-item-click-of-a-particular-car)

but it is not directly related to my case, I need to make action on specific ID like

```
statusButtons.toggleVisibility(!statusButtons.isVisible) where I not have argument to change

```