/// /// HybridUiListViewSpec.kt /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. /// https://github.com/mrousavy/nitro /// Copyright © Marc Rousavy @ Margelo /// package com.margelo.nitro.reactnativelist import androidx.annotation.Keep import com.facebook.jni.HybridData import com.facebook.proguard.annotations.DoNotStrip import com.margelo.nitro.core.HybridObject import com.margelo.nitro.views.HybridView /** * A Kotlin class representing the UiListView HybridObject. * Implement this abstract class to create Kotlin-based instances of UiListView. */ @DoNotStrip @Keep @Suppress( "KotlinJniMissingFunction", "unused", "RedundantSuppression", "RedundantUnitReturnType", "SimpleRedundantLet", "LocalVariableName", "PropertyName", "PrivatePropertyName", "FunctionName" ) abstract class HybridUiListViewSpec: HybridView() { // Properties // Methods abstract fun setListCallbacks(uiListModule: HybridUiListModuleSpec, createView: (type: String, surfaceId: Double) -> Double, updateView: (reactTag: Double, item: NativeListItem, index: Double) -> Boolean, disposeView: (surfaceId: Double) -> Boolean): Unit @DoNotStrip @Keep private fun setListCallbacks_cxx(uiListModule: HybridUiListModuleSpec, createView: Func_double_std__string_double, updateView: Func_bool_double_NativeListItem_double, disposeView: Func_bool_double): Unit { val __result = setListCallbacks(uiListModule, createView, updateView, disposeView) return __result } @DoNotStrip @Keep abstract fun setDataSource(dataSource: HybridNativeListDataSourceSpec): Unit @DoNotStrip @Keep abstract fun setLayout(layout: HybridNativeListLayoutSpec): Unit @DoNotStrip @Keep abstract fun disposeRendererSurface(): Unit // Default implementation of `HybridObject.toString()` override fun toString(): String { return "[HybridObject UiListView]" } // C++ backing class @DoNotStrip @Keep protected open class CxxPart(javaPart: HybridUiListViewSpec): HybridObject.CxxPart(javaPart) { // C++ JHybridUiListViewSpec::CxxPart::initHybrid(...) external override fun initHybrid(): HybridData } override fun createCxxPart(): CxxPart { return CxxPart(this) } companion object { protected const val TAG = "HybridUiListViewSpec" } }