1 /* Copyright (c) 2020 Samsung Electronics Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 using System.ComponentModel;
17 using Tizen.NUI.Components;
19 namespace Tizen.NUI.Wearable
22 /// [Draft] This class provides a basic item for RecyclerView.
24 /// <since_tizen> 8 </since_tizen>
25 /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
26 [EditorBrowsable(EditorBrowsableState.Never)]
27 public class RecycleItem : Control
30 /// Data index which is binded to item by RecycleAdapter.
31 /// Can access to data of RecycleAdapter using this index.
33 /// <since_tizen> 8 </since_tizen>
34 /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
35 [EditorBrowsable(EditorBrowsableState.Never)]
36 public int DataIndex { get; set; } = 0;