aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/ui/AbstractViewHolder.java
blob: 0233bf0707846d52cd4fe7f1c8a78f7c28eff5cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package cgeo.geocaching.ui;

import butterknife.ButterKnife;

import android.view.View;

/**
 * Abstract super class for all view holders. It is responsible for the invocation of the view injection code and for
 * the tagging of views.
 *
 */
public abstract class AbstractViewHolder {

    protected AbstractViewHolder(final View view) {
        ButterKnife.inject(this, view);
        view.setTag(this);
    }

}