Back to project page SelfossAndroidClient.
The source code is released under:
GNU General Public License
If you think the Android project SelfossAndroidClient listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.vester.selfoss.operation; //from w ww .j av a 2s . c om import java.net.MalformedURLException; import java.net.URL; import org.vester.selfoss.FeedEntryMainActivity; import org.vester.selfoss.R; public class FetchMoreItemsOperation extends FetchItemsOperation { private final int totalItemCount; protected FetchMoreItemsOperation(FeedEntryMainActivity itemListActivity, int totalItemCount) { super(itemListActivity); this.totalItemCount = totalItemCount; } @Override public void setURL(String url) { super.setURL(url); } @Override public URL createURL() throws MalformedURLException { return new URL(super.createURL().toExternalForm() + "&offset=" + totalItemCount); } @Override boolean isAppendEntries() { return true; } @Override public int getOperationTitle() { return R.string.load_more_items; } }