i'm using jquery mobile .
I.m using a listview in my HTML and appending it dynamically in my JavaScript, like this:
<div class="content_div">
<ul data-role="listview" data-theme="c" data-inset="true" data-count-theme="c" id="page-list" ></ul>
</div>
$('#page-list').append('<li ><a href="#details" onclick=displayDetails("' + itemid + '") ......... </a> </li>' );
$('#page-list').listview('
refresh');
my issue is if i keep $('#page-list').listview(
'refresh'), then i have a blinking + flickering page when i test it on Android, it is not beautiful.
and if i remove it, then the theme of listview is not applied and the display is not good.
please how can i do?
is there any solution to not use the refresh on the listview?