aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/loaders/NextPageGeocacheListLoader.java
blob: cd81619766ee4d45244c47b53cfecc044c3c7407 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package cgeo.geocaching.loaders;

import cgeo.geocaching.SearchResult;
import cgeo.geocaching.connector.gc.GCParser;
import cgeo.geocaching.settings.Settings;

import android.content.Context;

public class NextPageGeocacheListLoader extends AbstractSearchLoader {
    private final SearchResult search;

    public NextPageGeocacheListLoader(final Context context, final SearchResult search) {
        super(context);
        this.search = search;
    }

    @Override
    public SearchResult runSearch() {
        return GCParser.searchByNextPage(search, Settings.isShowCaptcha(), this);
    }

}