FadingActionBar
FadingActionBar copied to clipboard
ImageView onClick listener in headerLayout not working.
I have inflated a view in fragment like this:
@Override
public void onAttach(Activity activity) {
super.onAttach(activity);
mFadingHelper = new FadingActionBarHelper()
.actionBarBackground(R.drawable.ab_background_light)
.headerLayout(R.layout.trailer_header)
.contentLayout(R.layout.fragment_movie_detail_tab)
.lightActionBar(true);
mFadingHelper.initActionBar(activity);
}
How do i able to implement the clickListener on header layout or any other views in header?
Solution: https://github.com/deronbrown/FadingActionBar/commit/9439d5a866b8b341fbf00f6d14d290c602fb48ed