karandeep singh
karandeep singh

Reputation: 2334

@string/appbar_scrolling_view_behavior is marked as private in com.android.support:design

I have updated the support library to 28.0.0-alpha3, and lint gives me this warning @string/appbar_scrolling_view_behavior is marked as private in com.android.support:design while I am using this in layouts which have coordinator layout. What is the correct way to use this behaviour now?

Upvotes: 3

Views: 7686

Answers (2)

Aurélien Lepage
Aurélien Lepage

Reputation: 177

It has been fixed but has not been released yet :

https://github.com/material-components/material-components-android/commit/e1c8886c6c91fe277622a583cbba75bfc9c37f55

UPDATE

This has been fixed in version 28.0.0-rc01

Upvotes: 5

Jasur Kurbanov
Jasur Kurbanov

Reputation: 96

You may go to appbar_scrolling_view_behavior class and change private to public . But would be better if you use 27.1.1 version. Since offical documentation says support library 28 is subject to changesupport library 28 is subject to change

Upvotes: 1

Related Questions