← Back to team overview

ubuntu-touch-coreapps team mailing list archive

[SDK] problems with Repeater in Tabs

 

Hi Geeks,

I met a problem that Repeater may not compatible with Tabs any more.

To reproduce this problem, launch "Shorts" app, press "refresh" at the
bottom bar, after refresh finish, the Tabs bar double its Tab's number
(e.g. before refresh, 3 tabs, after refresh, 6 tabs)

Before the Tabs gain some tab management APIs, we devs use Repeater to
generate dynamic Tab(s) in Tabs bar, and simply set Repeater to 0 to
regenerate all tabs. Now tabs can not be remove by set the Repeater to 0,
so tabs' management needs to be immigrate to new management APIs.


BTW, I can't find any new docs about these new APIs, and the SDK in my
12.04 is still old ~~~


BR,
Joey

Follow ups