i am writing an appmodule for unigram (telegram client), and i faced with a problem, where i cannot get a correct parent object.
in unigram, we have a main chats listview, in which, we have button, which is automatically focused when navigating with arrow keys, but because of focusing button in listview item and not listview item instead, we cannot get object position.
this listview item is a parent object of toggle button, but if i do nav.parent, i am jumping to window root object. instead of correct parent object.
hello all.
i am writing an appmodule for unigram (telegram client), and i faced with a problem, where i cannot get a correct parent object.
in unigram, we have a main chats listview, in which, we have button, which is automatically focused when navigating with arrow keys, but because of focusing button in listview item and not listview item instead, we cannot get object position. this listview item is a parent object of toggle button, but if i do nav.parent, i am jumping to window root object. instead of correct parent object.