diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2014-10-15 16:41:33 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2014-10-15 16:41:33 +0400 |
| commit | ddb85d210aede04602540ee6109c57984310afe3 (patch) | |
| tree | b12cd8f3ba2d643d32a427c9b8d59af6814cb7b4 /src/org/fox/ttrss/OnlineActivity.java | |
| parent | 09d124fd407b7ef7008a0365da63dd42587042ea (diff) | |
remove pulltorefresh library, switch to swiperefreshlayout
Diffstat (limited to 'src/org/fox/ttrss/OnlineActivity.java')
| -rw-r--r-- | src/org/fox/ttrss/OnlineActivity.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/org/fox/ttrss/OnlineActivity.java b/src/org/fox/ttrss/OnlineActivity.java index 1a43d73f..e19bbd0c 100644 --- a/src/org/fox/ttrss/OnlineActivity.java +++ b/src/org/fox/ttrss/OnlineActivity.java @@ -17,7 +17,6 @@ import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.select.Elements; -import uk.co.senab.actionbarpulltorefresh.extras.actionbarcompat.*; import android.annotation.TargetApi; import android.app.AlertDialog; import android.app.Dialog; @@ -53,7 +52,6 @@ import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.reflect.TypeToken; - public class OnlineActivity extends CommonActivity { private final String TAG = this.getClass().getSimpleName(); @@ -69,7 +67,7 @@ public class OnlineActivity extends CommonActivity { private String m_lastImageHitTestUrl; - protected PullToRefreshAttacher m_pullToRefreshAttacher; + //protected PullToRefreshAttacher m_pullToRefreshAttacher; protected abstract class OnLoginFinishedListener { public abstract void OnLoginSuccess(); @@ -173,7 +171,7 @@ public class OnlineActivity extends CommonActivity { setContentView(R.layout.login); - m_pullToRefreshAttacher = PullToRefreshAttacher.get(this); + //m_pullToRefreshAttacher = PullToRefreshAttacher.get(this); if (isOffline) { switchOfflineSuccess(); @@ -1036,7 +1034,7 @@ public class OnlineActivity extends CommonActivity { return true; case R.id.update_headlines: if (hf != null) { - m_pullToRefreshAttacher.setRefreshing(true); + //m_pullToRefreshAttacher.setRefreshing(true); hf.refresh(false); } return true; |