Task #338

Refactor Channel.listenTo(id)

Added by Espen Solbu over 6 years ago. Updated over 6 years ago.

Status:ClosedStart date:02/07/2012
Priority:NormalDue date:
Assignee:Espen Solbu% Done:


Category:RefactorSpent time:-
Target version:2.0 Multiple models


I am afraid that i might be leaking context in Channel instances
- Add get/set on sourceChannelId, use this instead of listenTo everywhere.
- Add method startListening(Context context) (replacing current listenTo) registering the broadcast listener
- Add method stopListening(Context context) unregistering the broadcast listener

Refactor so only activities will trigger a startListening or stopListening

Associated revisions

Revision 273
Added by Espen Solbu over 6 years ago

closes #338 Modified Channels context use


#1 Updated by Espen Solbu over 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset r273.

Also available in: Atom PDF