Last active
July 12, 2017 02:50
-
-
Save miquelbeltran/65c8f5327d71e6f1074180e0c18c7f53 to your computer and use it in GitHub Desktop.
This file contains 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
@Implements(CollapsingToolbarLayout.class) | |
public class ShadowCollapsingToolbarLayout extends ShadowFrameLayout { | |
public void __constructor__(Context context, AttributeSet attrs, int defStyleAttr) { | |
} | |
@Implementation | |
public void onAttachedToWindow() { | |
} | |
} |
How can you init it in test class ?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The empty onAttachedToWindow is required so the OffsetUpdateListener is not created.