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
Contributor
Posts: 11
Registered: ‎08-28-2012
My Device: 9800
My Carrier: --
Accepted Solution

Disable peeking

Hello,

 

is there a way to disable peeking in NavigationPane?

 

Thanks,

Cainer

Developer
Posts: 323
Registered: ‎05-07-2009
My Device: BlackBerry Z10, PlayBook, 9900
My Carrier: Telus

Re: Disable peeking

Regardless of if it is possible... can I ask why you'd want to do this?  My understanding of the Peek ability is that it lets the user be in control and decide to "stay" in your app yet still be able to see what's going on with their messages etc.


PlayBook Apps: DataMine, Dots + Boxes, 5 Marbles
BlackBerry SmartPhone Apps: 5 Marbles Soon: **** (D.Z.A), ****Quest, **** Challenge, VaultCracker, DevBrowser, Radial****
Contributor
Posts: 11
Registered: ‎08-28-2012
My Device: 9800
My Carrier: --

Re: Disable peeking

I mean peeking to previous page in navigation stack. Thing is, I can "overload" backButton to do something else than pop a page, but user is still able to "bypass" this with peeking.

 

Highlighted
Contributor
Posts: 11
Registered: ‎08-28-2012
My Device: 9800
My Carrier: --

Re: Disable peeking

Found it. Just set peekEnabled to false under NavigationPane.

This (obviously) affects all pages. 

New Developer
Posts: 21
Registered: ‎12-02-2012
My Device: BB10 Alpha Dev B
My Carrier: TrueMove-H

Re: Disable peeking

Thanks my friend. You saved my life. Smiley Very Happy