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

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -