I was wondering what a good design pattern would b...
# android
a
I was wondering what a good design pattern would be for several listeners, which are associated with string keys at runtime. The add and remove is expected to be infrequent but there could be a 100 of them. Meanwhile a producer may very frequently produce keys that have to be conveyed to the listeners. There may be more than one listener per key
not kotlin but kotlin colored 2