2

Recently I found this topic which describes how we can pass an external function to a fragment as a Serializable Param via Bundle (similar approach can be applied to send a function to a new activity)

But my question is how safe is this approach?
This can be a source of memory leaks?
Anyone used this approach in practice?

Liviu
  • 768
  • 8
  • 9

0 Answers0