v1.0.0-beta.8
·
17 commits
to master
since this release
This release fixes most of the problems that we had (#4, gif, and this).
Thanks to @binhnd-socicom to make this possible.
New methods on AppBarLayout
this.appBar.show()
=> Expands the toolbar
this.appBar.hide()
=> Collapses the toolbar
this.appBar.redraw()
=> Redraw the toolbar (invokes requestLayout)
Example
componentDidMount() {
this.appBar.show()
this.appBar.hide()
this.appBar.redraw()
}
render() {
return (
...
<AppBarLayout ref={(ref) => { this.appBar = ref }} />
...
)
}