mancj / mancj/SlideUp-Android

Show and Hide methods throw an Unresolved reference error with Kotlin

Open
#65 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.6k
Forks
207
PR merge metrics
No merged PRs in 30d

Description

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
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the SlideUpBuilder construction and the button-click snippet, then reproduce Kotlin's Unresolved reference error for show() and hide(). Done means the supported way to invoke those methods compiles for this example; the issue names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.