android-tvleanback

Can we skip zoom animation for a particular item in ListRowPresenter - Leanback Android TV


I would like to cancel the zoom animation for the first element only. Is there any way to do it.

I initialise ListRowPresenter(FocusHighlight.ZOOM_FACTOR_LARGE, false) like this

But the zoom animation applies to all the element in the row. Is there any way to not apply this zoom animation for a single content ?


Solution

  • I created two presenters and added zoom factor in one of the presenter on the focus listener.