mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove unused constructor (#51546)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51546 A bit of housekeeping: this constructor is deprecated and unused as the class is internal Changelog: [Internal] Reviewed By: christophpurrer Differential Revision: D75233988 fbshipit-source-id: 8272ef4a9465c447d04b377b42071f9834092709
This commit is contained in:
committed by
Facebook GitHub Bot
parent
535444bca4
commit
1040cd62b6
-4
@@ -9,16 +9,12 @@ package com.facebook.react.views.view
|
||||
|
||||
import com.facebook.react.bridge.Arguments
|
||||
import com.facebook.react.bridge.WritableMap
|
||||
import com.facebook.react.uimanager.common.ViewUtil
|
||||
import com.facebook.react.uimanager.events.Event
|
||||
|
||||
/** Represents a Click on the ReactViewGroup */
|
||||
internal class ViewGroupClickEvent(surfaceId: Int, viewId: Int) :
|
||||
Event<ViewGroupClickEvent>(surfaceId, viewId) {
|
||||
|
||||
@Deprecated("Use the constructor with surfaceId and viewId parameters.")
|
||||
constructor(viewId: Int) : this(ViewUtil.NO_SURFACE_ID, viewId)
|
||||
|
||||
override fun getEventName(): String = EVENT_NAME
|
||||
|
||||
override fun canCoalesce(): Boolean = false
|
||||
|
||||
Reference in New Issue
Block a user