java - Extending BaseActivity for a class which already extends from third party library -
i have mainactivity inherited third party library as:
public class mainactivity extends parallaxviewpagerbaseactivity { }
this works fine, added baseactivity()
class move common functionality current classes have. don't have idea how extend mainactivity
baseactivity
extending third party library.
ps: first android project, hence not sure if query lame.
java doesn't support multiple inheritance. can't extend more 1 base classes. instead make function in activity want extend , create object class. using object , function make process need.
Comments
Post a Comment