natario1 / bottomsheetcoordinatorlayout Goto Github PK
View Code? Open in Web Editor NEWA handy CoordinatorLayout that works well when used in a bottom sheet, even with AppBarLayouts inside.
License: Apache License 2.0
A handy CoordinatorLayout that works well when used in a bottom sheet, even with AppBarLayouts inside.
License: Apache License 2.0
I will not use this layout.......I'm so stupid
JCenter is being sunset. Please upload artifacts to Maven Central by May 1st.
For example this code:
<com.otaliastudios.bottomsheetcoordinatorlayout.BottomSheetCoordinatorLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:liftOnScroll="true"
app:liftOnScrollTargetViewId="@id/picker_list">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
app:title="@{title}"/>
</com.google.android.material.appbar.AppBarLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/picker_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipToPadding="false"
android:paddingBottom="@dimen/padding_narrow"
android:paddingTop="@dimen/padding_narrow"
android:scrollbarStyle="insideOverlay"
android:scrollbars="vertical"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:ignore="UnusedAttribute"/>
</com.otaliastudios.bottomsheetcoordinatorlayout.BottomSheetCoordinatorLayout>
leads to a crash.
java.lang.ClassCastException: android.widget.FrameLayout$LayoutParams cannot be cast to androidx.coordinatorlayout.widget.CoordinatorLayout$LayoutParams
There Are Many And Many Issues To This Library.
So DON'T USE THIS LIBRARY, Until It will be updated after jan 25 2021 .
java.lang.ClassCastException: android.widget.FrameLayout$LayoutParams cannot be cast to android.support.design.widget.CoordinatorLayout$LayoutParams
at com.otaliastudios.bottomsheetcoordinatorlayout.BottomSheetCoordinatorBehavior.from(BottomSheetCoordinatorBehavior.java:37)
at com.otaliastudios.bottomsheetcoordinatorlayout.BottomSheetCoordinatorLayout.onMeasure(BottomSheetCoordinatorLayout.java:87)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.