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;
18 namespace Tizen.NUI.Components
21 /// [Draft] This class provides a basic item for RecyclerView.
23 /// <since_tizen> 8 </since_tizen>
24 /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
25 [EditorBrowsable(EditorBrowsableState.Never)]
26 public class RecycleItem : Control
29 /// Data index which is binded to item by RecycleAdapter.
30 /// Can access to data of RecycleAdapter using this index.
32 /// <since_tizen> 8 </since_tizen>
33 /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
34 [EditorBrowsable(EditorBrowsableState.Never)]
35 public int DataIndex { get; set; } = 0;