← Back to team overview

ubuntu-touch-coreapps team mailing list archive

Re: [SDK] problems with Repeater in Tabs

 

Hi Joey! Given the year end Holidays I didn't see this until now, but I too am curious as I've seen this happening in the shorts app. Did you get feedback on the new tab management APIs?

Nicholas

On 12/09/2013 11:05 PM, Joey Chan wrote:
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

References