语言

Menu
Sites
Language
How can i create multi IconListView by code not using ui builder

Hi,

I have problem when create 2 iconlistview in a form.

all of them using method virtual Tizen::Ui::Controls::ListItemBase* CreateItem (int index, float itemWidth);

but i have 2 iconlistview diffirent data.

How can i do it.

响应

2 回复
kimi

Hi,

Please refer this link https://developer.tizen.org/documentation/articles/native-appmanagement to know how to create List view without using UI Builder.

 

Kimi.

Alex Dem

Hi,
Here is example how to create IconListView without UI builder.
https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.native.apireference%2FclassTizen_1_1Ui_1_1Controls_1_1IconListView.html

Here is topic how to place 2 ListViews on the same form:

https://developer.tizen.org/forums/native-application-development/two-listviews-form

This is fast solution : to add additional class with second ListView Listeners inherited from IListViewItemProvider and IListViewItemEventListener and pass FormPointer there,
It is not elegant, but should works
Alexey.