Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set default state to EXPANDED #21

Open
marekbil opened this issue Sep 24, 2021 · 0 comments
Open

How to set default state to EXPANDED #21

marekbil opened this issue Sep 24, 2021 · 0 comments

Comments

@marekbil
Copy link

I call in onCreate() in activity

slidingPanel.slideTo(PanelState.EXPANDED);

but it error:
java.lang.RuntimeException: Unable to start activity ComponentInfo{pl.novitus.bill/pl.novitus.bill.ui.sale.SaleActivity}: kotlin.UninitializedPropertyAccessException: lateinit property slidingView has not been initialized
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2666)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2727)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1478)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant