N
N
Neonoviiwolf2017-06-13 23:55:16
Java
Neonoviiwolf, 2017-06-13 23:55:16

Custom event listener in Android?

Good!
I want to make my own event listener, I used to do it on AS3, everything is simple there, we inherit, create an event, give a name, sign / unsubscribe everything that is needed. I want to do the same on android and I don’t understand what wild crutches with interfaces, etc. dregs like one of 10 variants of the same thing - this rubbish is really the realization of what I'm looking for or I didn't dug it up

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2017-06-14
@Neonoviiwolf

EventBus is called what you want. From my t.z. - an antipattern, it is necessary to use very carefully.
For example - from greenrobot .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question