mancj / mancj/SlideUp-Android

animation time does not work.

Open
#73 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.6k
Forks
207
PR merge metrics
No merged PRs in 30d

Description

slideUp = new SlideUpBuilder(slideUp_msgList)
.withListeners(new SlideUp.Listener.Events() {
@Override
public void onSlide(float percent) {
et_comment.setText("");
}

@Override
public void onVisibilityChanged(int visibility) {
if (visibility == View.GONE) {
et_comment.setText("");
}
}
})
.withSlideFromOtherView(slideUpRootView)
.withStartGravity(Gravity.BOTTOM)
.withLoggingEnabled(true)
.withGesturesEnabled(true)
.withStartState(SlideUp.State.HIDDEN)
.withAutoSlideDuration(2000)
.withSavedState(savedInstanceState)
.build();

Animation time does not work properly.
It shows up immediately.
May I know how can i fix it?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the SlideUpBuilder usage in the report, especially withAutoSlideDuration(2000), and trace how that setting is applied when the slide is built and shown. Reproduce the immediate display behavior with the shown builder configuration; done means the configured animation duration is respected rather than the view appearing immediately.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.