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: 163
Registered: ‎01-30-2013
My Device: Blackberry 10 Simulator

Re: Create a localized ListView

Hi, yes I have a ListView and some data inside it is static, some data can come form the internet and I may need to update the contents of the ListView.

Just somewhere I read someone was suggesting one could use XML as a DataModel if the data was static (didn't come on run time). That is why I asked.

So you think in such a case I can use XML right?

(because in such a case I can use headers which are not sorted).

Highlighted
Developer
Posts: 18
Registered: ‎04-09-2013
My Device: Z10
My Carrier: Vodafone

Re: Create a localized ListView

Hi ,

I did as you told for option 1 ,added translation in .ts file manually ang in Qml wrote qsTrs(ListitemData.xx) but not working.

Even i tried that simple also it is also not working.

 

Please help!