We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Datagrid cell to display like a card or ListView

Hi,

Firstly, is there any ListView for Xamarin.Android? 

And then, if there isn't, how can I achieve a Card ListView look in a data grid? The main reason for this is to get the "Card" or "Row" swipe left and right. 



3 Replies

VR Vigneshkumar Ramasamy Syncfusion Team September 5, 2018 11:24 AM UTC

Hi Lee Venkatsamy,  
 
Thanks for contacting Syncfusion support.     
  
Query 1:  
We are sorry to let you know that currently we do not have SfListView control in Xamarin Android. We have already considered this feature “Provide Support for SfListView in Xamarin Android” and added it to our feature request list. It will be available in any of our upcoming releases and it can be tracked through our Features Management System:       
       
 
Query 2:  
We have analyzed your query for Card ListView look in a data grid. We have prepared a possible sample to achieve the cardListView look in DataGrid using the CustomCell.   
  
We have attached the prepared sample and you can download the from the following link   
  
For more details about the DataGrid and CustomCell you can refer the below UG links  
  
Regards,  
Vigneshkumar R 



LV Lee Venkatsamy September 7, 2018 10:55 AM UTC

Hi,

Thanks for the sample. 

Is there any way to use an .axml file with the card and inflate this card into each row of the sfsGrid, similar to how Android’s recyclerView inflates a custom view and creates a scrollable list of cards



VR Vigneshkumar Ramasamy Syncfusion Team September 10, 2018 08:38 AM UTC

Hi Lee Venkatsamy,  
  
We have analyzed the query “Is there any way to use an .axml file with the card and inflate this card into each row of the sfsGrid”. We deeply regret that we do not have support to generate column in .axml file. Currently we have given the designer support for Xamarin.Android in which we can create the instance of the DataGrid but we cannot able to generate column in the .axml because it not a view where it is the collection of the GridColumn. We have provided the possible work around from the DataGrid. We already would have considered your requirement and it will be available in any of our upcoming releases. We appreciate your patience until then.  
  
Regards,  
Vigneshkumar R 


Loader.
Live Chat Icon For mobile
Up arrow icon