~qqworini/ubuntu-rssreader-app/gridview-dynamic-load

« back to all changes in this revision

Viewing changes to TopicTab.qml

  • Committer: Tarmac
  • Author(s): Roman Shchekin
  • Date: 2013-09-01 15:03:18 UTC
  • mfrom: (51.1.1 add-reads-journey)
  • Revision ID: tarmac-20130901150318-vtidr0g8m67hern0
Fix for https://bugs.launchpad.net/ubuntu-rssreader-app/+bug/1217300.
A lot of little but important changes in refresh process.

Approved by Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
Tab {
10
10
    id: topicTab
11
11
 
12
 
    property int topicId: 0
 
12
    property int topicId: -1
13
13
    property bool isAll: false
14
14
    property variant feedArray: []
15
15
    property bool isListMode: pageStack.isListView
23
23
    }
24
24
 
25
25
    onIsListModeChanged: {
 
26
        if (topicId == -1) // Ignore first undefined state.
 
27
            return
 
28
 
 
29
        console.log("onIsListModeChanged, tag ID: ", topicId)
26
30
        reload()
27
31
    }
28
32