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: 27
Registered: ‎11-14-2012
My Device: Curve 8900
My Carrier: Viettel

Null keyword in Gold SDK

Hi all, I'm developing an app in Cascades. In some versions SDK before, I can declare "dataModel: null" but in Gold version, it show error that "Type mismatch of value of the 'dataModel' property. Expecting DataModel and found null". It means we can use null keyword. I have no ideas why and how can we replace by another keyword.

Highlighted
Contributor
Posts: 27
Registered: ‎11-14-2012
My Device: Curve 8900
My Carrier: Viettel

Re: Null keyword in Gold SDK

Can anybody help me? In QML, why we can use null keyword to reference to a null object?