Hi everyone,
I have a question regarding custom events best practice. If i have a single object that can dispatch two or more custom events is it better to have
a single custom event class with those event in it or to separate every custom event to its own class? How do you handle situation like this? I am asking this because even if those two or more events are similar and are attached to same object they could have different parameters i want to pass to them so it could be a bit confusing if i use one custom event class and pass those parameters all the time.
Cheers