summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap/bitmaskclient/ProviderRendererBuilder.java
blob: 7366e68e126c5749527762c086610d907069a3a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package se.leap.bitmaskclient;

import android.content.Context;

import com.pedrogomez.renderers.Renderer;
import com.pedrogomez.renderers.RendererBuilder;

import java.util.Collection;
import java.util.LinkedList;
import java.util.List;

import javax.inject.Inject;

/**
 * Created by parmegv on 4/12/14.
 */
    public class ProviderRendererBuilder extends RendererBuilder<Provider> {
        public ProviderRendererBuilder(Collection<Renderer<Provider>> prototypes) {
            super(prototypes);
        }
        @Override
        protected Class getPrototypeClass(Provider content) {
            return ProviderRenderer.class;
    }
}