Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class CommentsActivity extends BaseDrawerActivity implements SendCommentButton.OnSendClickListener {`
- @Bind(R.id.btnSendComment)
- SendCommentButton btnSendComment;
- private void setupComments() {
- LinearLayoutManager linearLayoutManager = new LinearLayoutManager(this);
- rvComments.setLayoutManager(linearLayoutManager);
- rvComments.setHasFixedSize(true);
- public class BaseDrawerActivity extends BaseActivity {
- public class BaseActivity extends AppCompatActivity {
- public class SendCommentButton extends ViewAnimator implements View.OnClickListener {
- java.lang.ClassCastException: android.support.v7.widget.AppCompatButton cannot be cast to com.example.alsongdunstan.thefaithapp.ui.view.SendCommentButton
- <android.support.v7.widget.RecyclerView
- android:id="@+id/rvComments"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:scrollbars="none" />
Add Comment
Please, Sign In to add comment