java - Third party Class requires deprecated ActionBarActivity as a parameter -
i attempting utilize side-menu github repo. animation menu requires class viewanimator
take parameter actionbaractivity
, given in sample this
(i.e. mainactivity
, extends actionbaractivity
).
due actionbaractivity
being deprecated, , mainactivity
extending appcompatactivity
, statement shows error.
is there way around this?
1) use actionbaractivity.
2) download source code of github repo, import project (not gradle, or .jar, mean actual source code), , modify function accept appcompatactivity instead of actionbaractivity. (this require testing see if still worked expected).
3) make issue on github repo , hope original developer can/will out modifying code.
you can't trick thinking it's getting actionbaractivity if isn't it's getting.
Comments
Post a Comment