package org.wikipedia.feed.searchbar;

import android.content.Context;
import android.support.annotation.NonNull;

import org.wikipedia.dataclient.WikiSite;
import org.wikipedia.feed.dataclient.FeedClient;
import org.wikipedia.feed.model.Card;

import java.util.Collections;

public class SearchClient implements FeedClient {
    @Override
    public void request(@NonNull Context context, @NonNull WikiSite wiki, int age,
                        @NonNull final FeedClient.Callback cb) {
        cb.success(Collections.singletonList((Card) new SearchCard()));
    }

    @Override
    public void cancel() {
    }
}
@@ -36,84 +36,8 @@
 r;%0A%0A
-import android.content.Context;%0Aimport android.support.annotation.NonNull;%0A%0A
 impo
@@ -111,20 +111,21 @@
 aclient.
-Feed
+Dummy
 Client;%0A
@@ -167,39 +167,8 @@
 d;%0A%0A
-import java.util.Collections;%0A%0A
 publ
@@ -193,23 +193,21 @@
 ent 
-implements Feed
+extends Dummy
 Clie
@@ -220,36 +220,32 @@
    @Override
-%0A   
  public 
 void request
@@ -236,264 +236,73 @@
 lic 
-void request(@NonNull Context context, @NonNull WikiSite wiki, int age,%0A                        @NonNull final FeedClient.Callback cb) %7B%0A        cb.success(Collections.singletonList((Card) new SearchCard()));%0A    %7D%0A%0A    @Override%0A    public void cancel() %7B
+Card getNewCard(WikiSite wiki) %7B%0A        return new SearchCard();
 %0A   

change SearchClient superclass to DummyClient