<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div>
<div style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">Hi,<br>
<br>
Not sure of your implementation, but why boy create a button that triggers a custom signal say refresh() and onRefresh{} you make the list view populate again. Obviously this will populate everything and not only what is new, but it will work.
<br>
<br>
When you get to extensive lists, this won't be ideal for the sake of optimization but depending on your implementation, it shouldn't be too hard to get done, and will be satisfactory.<br>
<br>
-Michael<br>
<br>
Sent from my Windows Phone</div>
</div>
<div dir="ltr">
<hr>
<span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">From:
</span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><a href="mailto:bartrem737@student.polsl.pl">Bartosz Remisz</a></span><br>
<span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Sent:
</span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">‎2/‎10/‎2013 11:06 PM</span><br>
<span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">To:
</span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><a href="mailto:devel@lists.sailfishos.org">devel@lists.sailfishos.org</a></span><br>
<span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Subject:
</span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">[SailfishDevel] Sailfish - refresh listView on previous page, combobox how to</span><br>
<br>
</div>
<div dir="ltr">
<div dir="ltr">
<div style="font-size:12pt; font-family:'Calibri'; color:#000000">
<div>Hello, </div>
<div> </div>
<div>I am trying to make small app for Sailfish, but I encountered some issues. Please notice I am completely new in QT and Sailfish project, on the other hand, I work with Android, Windows Phone and iOS.</div>
<div> </div>
<div>Firstly, there are two pages. On first there is SilicaListView, on second some other controls that let add new item to list. Data for list are stored in C++ code. I have problem with refreshing list when poping back. Is there any method similiar to notifyDataSetChanged
 in Android or reload in iOS, that can be invoked? I know there are signals but I wish rather not to use them in current implementation – only refresh from qml after pressing button (if possible).
</div>
<div> </div>
<div>On the second page I have put combobox, but I have no idea how to make it working with my data. Suppose there are C++ methods that returns items count and string to display for each of them. I thought it would work similar to listView (model, delegate
 Item), however it is not. Could you please give me some advice where to find more information about how to work with non static items for combobox? Any help would be greatly appreciated.</div>
<div> </div>
<div>I have also noticed that when I put IconButton inside Column and set height, next item doesn’t appear below, but in somewhere in the middle of IconButton. Is there a need to set y value for next item or is it a bug?
</div>
<div> </div>
<div> </div>
<div> </div>
<div>Thanks in advance,</div>
<div>Bartek. </div>
<div> </div>
</div>
</div>
</div>
</body>
</html>