Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show and Hide methods throw an Unresolved reference error with Kotlin #65

Open
sutherland007 opened this issue Aug 7, 2018 · 1 comment

Comments

@sutherland007
Copy link

sutherland007 commented Aug 7, 2018

I'm trying to use show() and hide() but not working they throw an Unresolved reference.
here is my code:

        val slideUp: SlideUpBuilder = SlideUpBuilder(PlayerView)
        slideUp.withStartState(SlideUp.State.SHOWED)
        slideUp.withStartGravity(Gravity.TOP)
        slideUp.withAutoSlideDuration(500)
        slideUp.build()

Here is my button click code example:

btn_ShowPlayer.setOnClickListener{
         slideUp.show() //both show() and hide() throw an Unresolved reference error
}
@sutherland007
Copy link
Author

After doing some code corrections, the methods are finally working.
Sorry for the inconvenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant