Skip to content

Conversation

@gujjwal00
Copy link
Contributor

This PR decouples VNCConn and frame-buffer/bitmap-data from VncCanvas & VncCanvasActivity.

Summary:

  • VNCConn exposes ObserverInterface.
  • VncCanvasActivity implements ObserverInterface.
  • AbstractBitmapData does not keep a reference to VncCanvas. Instead, required values are passed as method arguments.

This would allow us to keep VNCConn alive insde ViewModel as per #46. (Even if we don't want to go in that direction, this PR allow us to move UI Code out of VNCConn).

Instead of holding a reference VncCanvas, we now pass the required information as arguments.
VNCConn is no longer directly tied to VncCanvas & VncCanvasActivity.
It will notify the canvas activity through ObserverInterface.
@gujjwal00
Copy link
Contributor Author

Closing this in favor of #56 . It will need some rework.

@gujjwal00 gujjwal00 closed this Mar 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant