An open API service indexing awesome lists of open source software.

https://github.com/saantiaguilera/android-view-pull-down-layout

Local notification with pull down for content
https://github.com/saantiaguilera/android-view-pull-down-layout

Last synced: about 2 months ago
JSON representation

Local notification with pull down for content

Awesome Lists containing this project

README

          

# Pull Down View

Usage. Somewhere around your app. Having a reference of an activity (Else we dont have where to inject this notification)

```Java
new PullDownView.Builder(activityReference)
.header(aViewThatWillBeShownAsHeader)
.content(aViewThatWillBeShownAsContent)
.onViewVisibilityChanged(toReceiveCallbacksFromImportantEvents)
.onContentVisibilityChanged(toReceiveCallbacksFromImportantEvents)
.build().showHeader(theTimeThatWillBeShown);

//If you hold the instance you can also do manually
mPullDownView.showContent();
mPullDownView.hideContent();
mPullDownView.hideHeader();
mPullDownView.showHeader(); //Same as the one with the time, when time is 0
```

Minimum Api Level: 11