How to remove listener in annonymous implementation

前端 未结 0 787
温柔的废话
温柔的废话 2021-01-05 06:32

Can\'t understand how to stop Patient class from listening Subject when using anonymous implementation.

I tried using Subject variable so I can acces it in reactToCha

相关标签:
回答
  • 消灭零回复
提交回复
热议问题