|
|
@@ -103,6 +103,7 @@ public class NavigationBar {
|
|
|
setClickListener(buttonShare);
|
|
|
setClickListener(buttonLike);
|
|
|
setClickListener(buttonBookmark);
|
|
|
+ setClickListener(imageBi);
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -247,6 +248,7 @@ public class NavigationBar {
|
|
|
mapClickListener(buttonSearch, newBuilder.searchListener);
|
|
|
|
|
|
setBiVisible(newBuilder.isVisibleBi);
|
|
|
+ mapClickListener(imageBi, newBuilder.logoListener);
|
|
|
|
|
|
setBackVisible(newBuilder.isVisibleBack);
|
|
|
mapClickListener(buttonBack, newBuilder.backListener);
|
|
|
@@ -481,6 +483,7 @@ public class NavigationBar {
|
|
|
protected INavigationBarListener likeListener = null;
|
|
|
protected INavigationBarListener shareListener = null;
|
|
|
protected INavigationBarListener bookmarkListener = null;
|
|
|
+ protected INavigationBarListener logoListener = null;
|
|
|
|
|
|
public Builder(Context context) {
|
|
|
this.context = context;
|
|
|
@@ -525,8 +528,9 @@ public class NavigationBar {
|
|
|
*
|
|
|
* @return Builder
|
|
|
*/
|
|
|
- public Builder logo() {
|
|
|
+ public Builder logo(INavigationBarListener logoListener) {
|
|
|
isVisibleBi = true;
|
|
|
+ this.logoListener = logoListener;
|
|
|
return this;
|
|
|
}
|
|
|
|