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

Super Contributor
Posts: 440
Registered: ‎01-13-2011
My Device: Playbook
My Carrier: NA
Accepted Solution

create() vs new?

Is there any difference between creating things in different ways:


navigationPane = NavigationPane::create();


navigationPane = new NavigationPane();

BlackBerry Apps: Instruments | ARTPAD | Piano | Drums | Xylophone
Posts: 526
Registered: ‎05-17-2009
My Device: 9900
My Carrier: ATT

Re: create() vs new?

Theres no real difference other than create() usually having a lot of helper methods available to you with the . operator after you call create()
Like all of my posts