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

Allowing items in SfListView to focus

Hi,

I'm making an app for the Amazon Fire TV and would like to use your SfListView control. The Xamarin Forms component ListView doesn't allow focusing on items, however using a custom renderer for Android and using Control.ItemsCanFocus = true and Control.Focusable = true allows the items to be focusable.

For example, if you're using a remote control and go down, the items should highlight as each item is focused in the list. Pressing the select button will select the item in the list.

It doesn't seem there is an SfListViewRenderer, and even if there was the SfListView doesn't inherit ListView, but Grid (could be wrong with that).

But in short, how do I allow the items using SfListView to be focusable?!

Thanks.

2 Replies

DB Dinesh Babu Yadav Syncfusion Team April 5, 2019 01:42 PM UTC

Hi Ricky, 
 
Thanks for using Syncfusion product. 
 
We are currently checking on the possibility to achieve your requirement in android using SfListView. We will validate and provide further details regarding your query on or before April 9, 2019.We will appreciate your patience until then. 
 
Regards, 
Dinesh Babu Yadav 
 



GP Gnana Priya Namasivayam Syncfusion Team April 11, 2019 04:53 AM UTC

Hi Ricky, 
 
 
Sorry for the delay caused. 
 
We would like to inform you that SfListView doesn’t have default property to set focus. We are currently checking for the possibility to achieve in renderer. We will update further details and confirm you the possibility to achieve in renderer on or before April 12, 2019. We will appreciate your patience until then.  
 
 
Regards, 
Gnana Priya N 


Loader.
Live Chat Icon For mobile
Up arrow icon