Home TwimGo v3.0.6 Released – MeeGo / Maemo

TwimGo v3.0.6 Released – MeeGo / Maemo

 

 
Minor update to TwimGo this weekend. Release notes for v3.0.6:

  • Pull down timeline to refresh
  • Scroll to bottom to automatically load more tweets
  • Reply to direct message is sent as direct message

It was pretty easy to add the auto “load more” functionality as both GridView (used in landscape mode) and ListView (portait mode) have a property atYEnd to check if user have scrolled to bottom of the timeline. I added a simple Timer that checks this property in every 0,5 seconds and starts to load more tweets if necessary.
Pull down to refresh was a bit trickier but I ended up checking the atYBeginning property of ListView/Gridview and deterimine the extra pull with the contentY property. So the code is something like this:


Timer {
interval: 500
repeat: true
onTriggered: {
if( tweetsList.atYBeginning &&
tweetsList.contentY tweetsList.refresh = true;
}
}
}

ListView {
id: tweetsList
property bool refresh: false
..
onMovingChanged: {
if(tweetsList.refresh) {
tweetsList.refresh = false;
// Refresh timeline
}
}
}
TwimGo project page for info and Downloads
http://projects.developer.nokia.com/twimgo

About ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the gambling and blockchain industries for major developments, new product and brand launches, game releases and other newsworthy events. Editors assign relevant stories to in-house staff writers with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.