Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A AndroidSlidingUpPanel
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 267
    • Issues 267
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 34
    • Merge requests 34
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Umano: News Read To You
  • AndroidSlidingUpPanel
  • Merge requests
  • !492

Add an interface for Parent view to negotiate with child Scrollable View.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/changxiangzhong/feature-TouchInterceptNegotiation into master Jul 06, 2015
  • Overview 3
  • Commits 3
  • Pipelines 0
  • Changes 6

Created by: changxiangzhong

Use case: Assume a sliding-up-menu child is also a Scrollable (e.g. ListView/RecyclerView/ScrollView). A common requirement is if the child has scroll to topmost, then any scroll-down should be handled by SlidingUpPanelLayout, i.e. when the menu is on its topmost position, any scroll-down gesture would close the menu.

To achieve this, The parent SlidingUpPanelLayout needs to consult if the child has been on its topmost position. If yes, the parent would INTERCEPT the whole gesture. Otherwise the parent would simply have the child to handle it.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/changxiangzhong/feature-TouchInterceptNegotiation