package co.infinum.testapp;

import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.view.View;
import android.widget.Toast;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.Unbinder;
import co.infinum.mjolnirrecyclerview.MjolnirRecyclerView;

public class MainActivity extends AppCompatActivity implements MainAdapter.OnClickListener<String> {

    private static final List<String> ITEMS = Collections.unmodifiableList(Arrays.asList(
            "First",
            "Second",
            "Third",
            "Fourth",
            "Fifth",
            "Sixth",
            "Seventh",
            "Eight",
            "Ninth",
            "Tenth"
    ));

    @BindView(R.id.recycler_view)
    MjolnirRecyclerView recyclerView;

    @BindView(R.id.empty_view)
    View emptyView;

    private MainAdapter adapter;

    private Unbinder unbinder;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        unbinder = ButterKnife.bind(this);

        recyclerView.setLayoutManager(new LinearLayoutManager(this));
        recyclerView.setEmptyView(emptyView);

        adapter = new MainAdapter(this);
        adapter.setOnClickListener(this);
        recyclerView.setAdapter(adapter);

        Handler handler = new Handler();
        handler.postDelayed(new Runnable() {
            @Override
            public void run() {
                adapter.reset(ITEMS);
            }
        }, 5000);
    }

    @Override
    public void onClick(int index, String item) {
        Toast.makeText(this, item, Toast.LENGTH_SHORT).show();
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        unbinder.unbind();
        adapter.cancel();
    }
}

@@ -378,37 +378,8 @@
 fe;%0A
-import butterknife.Unbinder;%0A
 impo
@@ -433,16 +433,16 @@
 erView;%0A
+
 %0Apublic 
@@ -1011,40 +1011,8 @@
 r;%0A%0A
-    private Unbinder unbinder;%0A%0A
     
@@ -1181,19 +1181,8 @@
     
- unbinder =
  But
@@ -1840,24 +1840,24 @@
 Destroy() %7B%0A
+
         supe
@@ -1875,35 +1875,8 @@
 ();%0A
-        unbinder.unbind();%0A
     

Remove Butterknife unbind