In order to make a such effect come out really is painstaking, a pit has a pit, said more is tears, share to everybody, long long experience bar ....
First page frame is still the same, import mui.min.css,mui.min.js,mui.pulltorefresh.js,mui.pulltorefresh.material.js, the main structure is the same, the following is the interaction problem.
Pullrefresh_with_tab.html the principle of this demo is to first all the pages of the data splicing out, so the first time you have to get all the data, and then according to the title of the stitching, there are three headings, please note the title value, this is the value you want to send the request pass
Here are three UL to install the list, and then send a request to put the content under their respective headings
This gets the data under each heading, followed by a paging problem, my side is to do an additional request, re-write a method, because the previous method to get all the data, this method is to request a single header data,
After the page is written, it is invoked by pull-up loading.
Through the pull-up load to page, but I did a very annoying problem, that is, I first pull the load after the pull on the failure, it is necessary to use the second time to find that the original as long as the settimeout is deleted, here is a delay effect
This is my personal encounter problems, and share with you, may not be detailed enough, do not understand the place or have problems in the place to welcome comments, private chat ...
Pullrefresh_with_tab.html is really data interaction and resolves the first pull-up load in the demo is invalid