Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
louisgeek committed Jul 13, 2017
1 parent d9f478b commit 9f63b4f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 34 deletions.
3 changes: 3 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import com.classichu.titlebar.R;
import com.classichu.titlebar.helper.ImageOrVectorResHelper;
import com.classichu.titlebar.listener.OnNotFastClickListener;
import com.classichu.titlebar.tool.SizeTool;

/**
Expand Down Expand Up @@ -419,26 +418,26 @@ private void init(Context context) {
mRightText = (TextView) view.findViewById(R.id.id_tv_right);
mCenterText = (TextView) view.findViewById(R.id.id_tv_center);

mLeftLayout.setOnClickListener(new OnNotFastClickListener() {
mLeftLayout.setOnClickListener(new OnClickListener() {
@Override
protected void onNotFastClick(View v) {
public void onClick(View v) {
if (mOnTitleBarLeftItemClickListener != null) {
mOnTitleBarLeftItemClickListener.onLeftClick(v);
}
}
});
mRightLayout.setOnClickListener(new OnNotFastClickListener() {
mRightLayout.setOnClickListener(new OnClickListener() {
@Override
protected void onNotFastClick(View v) {
public void onClick(View v) {
if (mOnTitleBarRightItemClickListener != null) {
mOnTitleBarRightItemClickListener.onRightClick(v);
}
}
});

mCenterLayout.setOnClickListener(new OnNotFastClickListener() {
mCenterLayout.setOnClickListener(new OnClickListener() {
@Override
protected void onNotFastClick(View v) {
public void onClick(View v) {
if (mOnTitleBarCenterItemClickListener != null) {
mOnTitleBarCenterItemClickListener.onCenterClick(v);
}
Expand Down

0 comments on commit 9f63b4f

Please sign in to comment.