Keeping the header and footer in nested listviews
When I used a nested listview for the first time, I was a bit surprised to find that it created new a new header dynamically instead of just keeping the header and footer of the parent. For my current project this is really important, so I searched around and found many people with the same expectation.
I've modified
$.mobile.listview._createSubPages
to support this functionality by setting data-dynamic to
true
or
false
on the
<ul>.
Ideally this could be implemented as an event or callback so that the coder could override the
_createSubPage behaviour.