Re: [SailfishDevel] Pagestack problems

2014-07-31 Thread Chris Walker
On Thu, 10 Jul 2014 15:38:52 +0100 Chris Walker cdw_noki...@the-walker-household.co.uk wrote: On Thu, 10 Jul 2014 16:14:34 +0200 (CEST) sfietkonstan...@free.fr wrote: Hello, looking a bit at your code, you are using a pagestack.push, meaning that you effectively adds another page to your

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread Andrey Kozhevnikov
you do not need to reload page, so there wouldn't any navigation problems at all :) 10.07.2014 19:23, Chris Walker пишет: On Thu, 10 Jul 2014 12:45:46 + fasza2mob...@gmail.com wrote: Hi Chris, Why don't you just update your model when the data changes? The view(s) should update

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread Chris Walker
On Thu, 10 Jul 2014 19:45:28 +0600 Andrey Kozhevnikov coderusin...@gmail.com wrote: you do not need to reload page, so there wouldn't any navigation problems at all :) I'm afraid you have me thoroughly confused now. Can you do me a favour and take a look at my code and let me know where I'm

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread sfietkonstantin
À: devel@lists.sailfishos.org Envoyé: Jeudi 10 Juillet 2014 15:53:10 Objet: Re: [SailfishDevel] Pagestack problems On Thu, 10 Jul 2014 19:45:28 +0600 Andrey Kozhevnikov coderusin...@gmail.com wrote: you do not need to reload page, so there wouldn't any navigation problems at all :) I'm afraid

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread Krisztian Olah
:10 Objet: Re: [SailfishDevel] Pagestack problems On Thu, 10 Jul 2014 19:45:28 +0600 Andrey Kozhevnikov coderusin...@gmail.com wrote: you do not need to reload page, so there wouldn't any navigation problems at all :) I'm afraid you have me thoroughly confused now. Can you do me

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread Chris Walker
On Thu, 10 Jul 2014 16:14:34 +0200 (CEST) sfietkonstan...@free.fr wrote: Hello, looking a bit at your code, you are using a pagestack.push, meaning that you effectively adds another page to your pagestack. For adding a new beer, I think that the best would be using a Dialog component. Ok.

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread Chris Walker
On Thu, 10 Jul 2014 15:45:08 +0100 Krisztian Olah fasza2mob...@gmail.com wrote: First off, you should place each class to its own heeader and source file to reduce future compile time. When you change only one class you won't have to recompile everything thus it's easier to find the classes.

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread fasza2mobile
The Model View Controller concept is a bit hard to grasp at first, but trust me once you learned it, it will be your prefered method. You will never regret learning it. As for your programming ability, it will improve by time, by setting new challenges you will learn and improve much faster,