Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,14 @@
* LICENSE file in the root directory of this source tree.
*/

package com.facebook.react.uimanager;

import android.view.View;
package com.facebook.react.uimanager

/**
* This interface should be implemented be native {@link View} subclasses that support pointer
* events handling. It is used to find the target View of a touch event.
* This interface should be implemented be native [View] subclasses that support pointer events
* handling. It is used to find the target View of a touch event.
*/
public interface ReactPointerEventsView {

/** Return the PointerEvents of the View. */
PointerEvents getPointerEvents();
public fun getPointerEvents(): PointerEvents
}
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public open class ReactViewManager : ReactClippingViewManager<ReactViewGroup>()

@ReactProp(name = ViewProps.POINTER_EVENTS)
public open fun setPointerEvents(view: ReactViewGroup, pointerEventsStr: String?) {
view.pointerEvents = PointerEvents.parsePointerEvents(pointerEventsStr)
view.setPointerEvents(PointerEvents.parsePointerEvents(pointerEventsStr))
}

@ReactProp(name = "nativeBackgroundAndroid")
Expand Down
Loading