Skip to content

Initializing multiTouchController #24

@sapeg

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?

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