Ranjith Kumar Nagiri
Ranjith Kumar Nagiri

Reputation: 863

Display items in different styles(List, Grid, Blocks) in Xamarin ios?

i am new to xamarin ios. i want to implement display items in different styles (List,Grid,Blocks) in view controller. I tried with table view cell, But i am unable to make it proper. Please find the below images. When ever we click on icons (List icon, grid icon, Block icon) we need to display the different styles view in same view controller. Please suggest me how to make it possible.

Thanks in advance.

enter image description here

Upvotes: 1

Views: 704

Answers (1)

DAN
DAN

Reputation: 939

As you are talking about view controllers and table view cells I assume you are not working with Xamarin Forms. This means you are creating a native iOS user interface and what you are trying to accomplish can be done with a UICollectionView. In particular you want to use the performBatchUpdates:completion: method, which allows you to animate reload and move operations.

Upvotes: 1

Related Questions