I am planning to get posts from my wordpress site using
JSON.. and the posts going to grow each day. my question here is it
possible to get the posts as a listview even with large number of
items lets say over 1000 items with no crash!
If not, then what is the best layout solution to list the posts.
note that the posts appears as a title and when click slide a new
page with post description.
I am testing new mobile app project and fetching data from the
server by getJSON(); and the list take some time to be loaded.
what i want is loading dialog to appear in the center of the list
container. I tried $.mobile.loading but it appears in the
middle of the page not inside the list container !
here is my code
<body>
<div id="home-page" data-role="page">
<div id="home-header" data-role="header">
<h1><i
class="icon-home"></i> Header</h1>
</div><!-- /#header -->
<div id="home-content" data-role="content">
<ul id="category_list"
data-filter="true" data-theme= "a"
data-inset="true"> </ul>
Hope
someone can help me, I am working on my first jquery mobile app. I am
still new on this, I have one index page which includes three data
role pages(get category, get posts, get posts content). and using
getJSON() to fetch the data from my wordpress website. my problem is
the delay of the listview. page appears empty for about 5 seconds then
the lists appears in one time. I want the list appears one by one. not
waiting for the all list to complete. also I want to know how to do
lazy loading for the page. if you have any other solution for my
problem. i will be appreciated. hope someone can help me on this. Thanks