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

Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Problem to show list field using model

Not trying to be rude here, but it seems your practice is to make up some code that sort of looks like it might do something like you want, try it, when it fails, post it here and ask what is wrong with it?


I would recommend a different approach.  Base your code on real working samples, get them going and then change the code to match what you really want. 


Rather than Goggling, I recommend that you start here


and review everything you find.  it is a lot, I don't expect you to take it in, but at least you will find the documentation you need and more samples to use. 


Returning to this problem, in the code you have supplied, both the ListView and the associated datamodel are supplied by C++.  So that doesn't help much in this specific case where the ListView is being supplied by QML.  I recommend this:


Posts: 777
Registered: ‎07-21-2012
My Device: 9810
My Carrier: 0

Re: Problem to show list field using model

Sorry sir.

i don't get any solution from that.

I only get some idea from Addressbook example.Still trying