android TV select item of BrowseSupportFragment/RowsSupportFragment programmatically by index

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


android TV select item of BrowseSupportFragment/RowsSupportFragment programmatically by index



I want to set selected view by index inside the row I'm in. Logically it might be something like this:


getRowsSupportFragment().getRowViewHolder(rowIndex).setSelectedPosition(viewIndex);



Well there is not anything like setSelectedPosition in the list of function of getRowViewHolder(0)
I have managed to change selected row by index with this line : getRowsSupportFragment().setSelectedPosition(index);
But I want to change selected View inside the row..


setSelectedPosition


getRowViewHolder(0)


getRowsSupportFragment().setSelectedPosition(index);



Thanks in Advance!









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Arduino Mega cannot recieve any sketches, stk500_recv() programmer is not responding

Visual Studio Code: How to configure includePath for better IntelliSense results

C++ virtual function: Base class function is called instead of derived