← Back to team overview

ubuntu-touch-coreapps team mailing list archive

Re: [SDK] problems with Repeater in Tabs

 

Hi guys.

Repeater has very big issue - if we want to add one tab, it will recreate
all existing too.
So dynamic tabs management is better anyway.

BR, Roman.


2014/1/7 Joey Chan <qqworini@xxxxxxxxx>

> Hi Nicholas,
>
> I don't have any new API of tabs so far, but repeater works well now on
> r79   :)
>
> BR,
> Joey
>
>
> 2014/1/7 Nicholas Skaggs <nicholas.skaggs@xxxxxxxxxxxxx>
>
>>  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
>>
>>
>>
>>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-touch-coreapps
> Post to     : ubuntu-touch-coreapps@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-touch-coreapps
> More help   : https://help.launchpad.net/ListHelp
>
>

References