Skip to content

Initializing multiTouchController #24

Description

@sapeg

Hi. By analogy with this:
private MultiTouchController<PinchWidgetType> multiTouchController = new MultiTouchController<PinchWidgetType>(this);
, I'm trying to declare a variable in the activity:

View view = findViewById(R.id.view);
multiTouchController = new MultiTouchController<View>(view);

But I get the error : incompatible types: The view cannot be converted to MultiTouchObjectCanvas.
What am I doing wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions