Hi,
i was looking for an example of TabsView as used in Dialer, but found nothing then to inspect the qml code on phone itself.
the component gallery does not contain it …
can you point me to some github repo that has an example ?
btw. is the component gallery open source ? i mean, can one contribute and add an example ?
btw.
it seems that TabView is part of: Sailfish.Silica.private 1.0
One thing to mention:
Most of the time you want to fill the tabs with other components located in other files. in my case i had 4 pages for it (Page). These would not should on UI until i did change them to from Page { … } to SilicaListView {…}
thanks, but this is not a tab but a collapsing, grouped list.
in my app i have implemented a corousel, similar to windows metro, where the last swipe would bring you back to first page.
the new tab is behaving the same way, it goes in circle …
so i did switch from my old implementation to the tabview.
I refactored the tab bar used in Piepmatz and Wunderfitz into a stand-alone component. Maybe you would like to use it as long as Silica’s TabBar is still a private component? You can find the code here: https://github.com/ichthyosaurus/sf-docked-tab-bar
My implementation is mainly suited for switching qml pages (which are no pages anymore)
There could still go some work into making it more generic regarding tabheader placement