Skip to content

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

Description

@sutherland007

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
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions