Yalantis / Side-Menu.Android

Side menu with some categories to choose.
https://yalantis.com
Apache License 2.0
5.23k stars 1.51k forks source link

Problem with the depricated ActionBarActivity #77

Closed Sh4rpL1nQ closed 5 years ago

Sh4rpL1nQ commented 6 years ago

viewAnimator = new ViewAnimator<>(this, list, contentFragment, drawerLayout, this); The first Parameter must be of type "ActionBarActivity", but its depricated and not available anymore. And I cant use AppCompatActivity, cause that leads to an error

Dhrishta commented 6 years ago

Hi getting the same problem with parameter type in viewAnimator = new ViewAnimator<>(this, list, contentFragment, drawerLayout this) . I tried replacing it by : ActionBarActivity.this but this time Android studio shows error : cannot resolve symbol 'ActionbarActivity'.

kstanislav commented 6 years ago

Hello. @dodoweder97 , @Dhrishta seems like you, guys, have outdated dependency in your build.gradle Actual version is: dependencies { compile 'com.github.yalantis:Side-Menu.Android:1.0.1' } This version contains merge request, which fix this #34 , #57

Dhrishta commented 6 years ago

Just updated the dependencies. Thanks. There seems to be no error now.

Dhrishta commented 6 years ago

Thanks I did the it works

Imran-Zulfi6121 commented 6 years ago

hey can you tell me how its work. i stuck in it

Dhrishta commented 6 years ago

Hello,

Can you be more precise? Are you talking about the depency or the yalantis side menu bar as a whole?

On Tue 3 Jul 2018 at 01:06, Imran-Zulfi6121 notifications@github.com wrote:

hey can you tell me how its work. i stuck in it

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Yalantis/Side-Menu.Android/issues/77#issuecomment-401963769, or mute the thread https://github.com/notifications/unsubscribe-auth/ARoHzdBEv3ATrYK2ENR_qBQPeXjaJxFQks5uCqeIgaJpZM4SbfeP .

--

Dhrishta SEWRAJ

Université Paul Sabatier Toulouse III

PenzK commented 5 years ago

solved