Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 238
Registered: ‎12-26-2010
My Device: BlackBerry Z10
My Carrier: Telus

Moving TitleBar

Hi, In the application I have a TitleBar, below that I have a List. Question is, how do I make the TitleBar scrolls up as I scroll the list (As if both are connected).

 

Cheerio

Smiley Happy

 

www.jackdevora.com
Developer
Posts: 1,746
Registered: ‎04-08-2010
My Device: Passport Silver, PRIV
My Carrier: Telekom.de, O2, Vodafone

Re: Moving TitleBar

in this case you should think about different scenarios:

 

  • as soon as user scrolls: hide the titlebar
  • or add a leadingVisual to your list. but the leadingVisual is only visible if user drags down from beginning of list
  • or use a special ListItem as first ListItem and design it like a titlebar
-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
BlackBerry Platinum Enterprise Partner
International Development native Mobile Business Apps
BlackBerry 10 | Qt Mobile (Android, iOS)
Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org
mobile-development: http://appbus.org Twitter: @ekkescorner
Highlighted
Developer
Posts: 238
Registered: ‎12-26-2010
My Device: BlackBerry Z10
My Carrier: Telus

Re: Moving TitleBar

Thanks for the reply, great workaround there!!
But I actually need the "pull to refresh" function when I drag down the list.
So I think solution 2, and 3 doesn't work for me.

Solution 1 would work, however it isnt quite much how I would want it. If theres no other workaround, I guess I would just use solution 1 then..

Thank you!!
www.jackdevora.com