Skip to content

Commit

Permalink
Upgrade new buttterknife annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanenicolas committed Apr 23, 2016
1 parent bb8b788 commit a3ce11a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Expand Up @@ -8,7 +8,7 @@
import android.content.SharedPreferences;
import android.os.Bundle;
import android.widget.TextView;
import butterknife.Bind;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.example.smoothie.deps.ContextNamer;
import javax.inject.Inject;
Expand All @@ -27,8 +27,8 @@ public class LessSimpleActivity extends Activity {
private Scope scope;

@Inject ContextNamer contextNamer;
@Bind(R.id.title) TextView title;
@Bind(R.id.subtitle) TextView subTitle;
@BindView(R.id.title) TextView title;
@BindView(R.id.subtitle) TextView subTitle;

@Override
protected void onCreate(Bundle savedInstanceState) {
Expand Down
Expand Up @@ -5,7 +5,7 @@
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import butterknife.Bind;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.example.smoothie.deps.ContextNamer;
import javax.inject.Inject;
Expand All @@ -20,9 +20,9 @@ public class PersistActivity extends Activity {
private Scope scope;

@Inject ContextNamer contextNamer;
@Bind(R.id.title) TextView title;
@Bind(R.id.subtitle) TextView subTitle;
@Bind(R.id.hello) Button button;
@BindView(R.id.title) TextView title;
@BindView(R.id.subtitle) TextView subTitle;
@BindView(R.id.hello) Button button;

@Override
protected void onCreate(Bundle savedInstanceState) {
Expand Down
Expand Up @@ -5,7 +5,7 @@
import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;
import butterknife.Bind;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.example.smoothie.deps.ContextNamer;
Expand All @@ -19,9 +19,9 @@ public class SimpleActivity extends Activity {
private Scope scope;

@Inject ContextNamer contextNamer;
@Bind(R.id.title) TextView title;
@Bind(R.id.subtitle) TextView subTitle;
@Bind(R.id.hello) Button button;
@BindView(R.id.title) TextView title;
@BindView(R.id.subtitle) TextView subTitle;
@BindView(R.id.hello) Button button;

@Override
protected void onCreate(Bundle savedInstanceState) {
Expand Down

0 comments on commit a3ce11a

Please sign in to comment.