Created
May 14, 2017 09:07
-
-
Save edwinlab/a750e7622e86f4aa7260856629d10e9d to your computer and use it in GitHub Desktop.
app bar addOnOffsetChangedListener
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AppBarLayout appBar = (AppBarLayout) rootView.findViewById(R.id.app_bar); | |
| appBar.addOnOffsetChangedListener(new AppBarLayout.OnOffsetChangedListener() { | |
| @Override | |
| public void onOffsetChanged(AppBarLayout appBarLayout, int verticalOffset) { | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment