2014/1/17 Tobi D. <schlaraffenl...@hotmail.com>: > Hi there, > > How can I push an attached page to my initial page on the pageStack? > > I'd like to have a behavior similar to the Jolla Store app. There you can > push to the next page to get categories when you are on initial page. > > I tried several thing to achieve this, but didn't get it work. Doing an > "pushAttached" to pageStack in "onComplete" of my initial page ends in error > message that you can not push a page on stack while another push is running.
onComplete is from Component (as opposed from Item), so it doesn't indicate the page is "ready". A better place for pushing would probably be onStatusChanged(), when the status changes to Active. -- Kalle Vahlman, Movial Creative Technologies Inc. Porkkalankatu 20, FI-00180 Helsinki Tel +358 9 8567 6400 Fax +358 9 8567 6401 www.movial.com _______________________________________________ SailfishOS.org Devel mailing list