N
N
Neonoviiwolf2017-01-31 15:17:44
Java
Neonoviiwolf, 2017-01-31 15:17:44

How to determine which button was clicked?

Good!
There are several layout containers, each container has buttons that are created programmatically. How to find out which button the user clicked and which container it belongs to

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Krasnodemsky, 2017-01-31
@Neonoviiwolf

Assign IDs to both buttons and layers. On button click, get and process IDs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question