diff --git a/library/src/main/java/moe/feng/common/view/breadcrumbs/BreadcrumbsAdapter.java b/library/src/main/java/moe/feng/common/view/breadcrumbs/BreadcrumbsAdapter.java index 66aa1c4..9ec029d 100644 --- a/library/src/main/java/moe/feng/common/view/breadcrumbs/BreadcrumbsAdapter.java +++ b/library/src/main/java/moe/feng/common/view/breadcrumbs/BreadcrumbsAdapter.java @@ -87,11 +87,11 @@ public int getItemViewType(int position) { class BreadcrumbItemHolder extends ItemHolder { - Button button; + TextView button; BreadcrumbItemHolder(View itemView) { super(itemView); - button = (Button) itemView; + button = (TextView) itemView; button.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) {