view.AddLayout(*gridLayout);
// As we have added one layout, check the number of layout is now 1
DALI_TEST_CHECK(view.GetLayoutCount() == 1);
// Create a depth layout and add it to ItemView
view.AddLayout(*gridLayout);
// As we have added one layout, check the number of layout is now 1
DALI_TEST_CHECK(view.GetLayoutCount() == 1);
// Create a depth layout and add it to ItemView
view.AddLayout(*depthLayout);
// As we have added another layout, check the number of layout is now 2
DALI_TEST_CHECK(view.GetLayoutCount() == 2);
// Create a spiral layout and add it to ItemView
view.AddLayout(*depthLayout);
// As we have added another layout, check the number of layout is now 2
DALI_TEST_CHECK(view.GetLayoutCount() == 2);
// Create a spiral layout and add it to ItemView
view.AddLayout(*spiralLayout);
// As we have added another layout, check the number of layout is now 3
view.AddLayout(*spiralLayout);
// As we have added another layout, check the number of layout is now 3
view.AddLayout(*gridLayout);
// As we have added one layout, check the number of layout is now 1
DALI_TEST_CHECK(view.GetLayoutCount() == 1);
// Create a depth layout and add it to ItemView
view.AddLayout(*gridLayout);
// As we have added one layout, check the number of layout is now 1
DALI_TEST_CHECK(view.GetLayoutCount() == 1);
// Create a depth layout and add it to ItemView
view.AddLayout(*depthLayout);
// As we have added another layout, check the number of layout is now 2
view.AddLayout(*depthLayout);
// As we have added another layout, check the number of layout is now 2
view.AddLayout(*spiralLayout);
// As we have added three layouts, check the number of layout is now 3
view.AddLayout(*spiralLayout);
// As we have added three layouts, check the number of layout is now 3
view.AddLayout(*gridLayout);
// Activate the grid layout so that the items will be created and added to ItemView
view.AddLayout(*gridLayout);
// Activate the grid layout so that the items will be created and added to ItemView
view.AddLayout(*gridLayout);
// Activate the grid layout so that the items will be created and added to ItemView
view.AddLayout(*gridLayout);
// Activate the grid layout so that the items will be created and added to ItemView
view.AddLayout(*gridLayout);
// Activate the grid layout so that the items will be created and added to ItemView
view.AddLayout(*gridLayout);
// Activate the grid layout so that the items will be created and added to ItemView
TestItemFactory factory;
ItemView view = ItemView::New(factory);
Vector3 vec(480.0f, 800.0f, 0.0f);
TestItemFactory factory;
ItemView view = ItemView::New(factory);
Vector3 vec(480.0f, 800.0f, 0.0f);