[library] Implement selection/selector support in TwoWayView