I use lambda expressions/anonymous classes in my a...
# announcements
n
I use lambda expressions/anonymous classes in my app (for example, for onClickListener) but it leads to memory leaks and nullifying all them seems to be pain. I was wondering if there is a laconic way that I could use instead lambda expressions/anonymous classes but without creating static classes for every case?
m
I’m surprised you’re having that issue, but don’t have an answer for that. I think that rather than ‘laconic’, you want to say ‘idiomatic’.