java - How to use AppBaseActivity and ActionBarActivity both in MainActivity -


i'm using theme i.e theme.appcompat.light.darkactionbar in application can action bar in main activity.for must extends mainactivity actionbaractivity.and register or unregister activity had created 1 separate class appbaseactivity can close activity @ time of logout. question java doesn't support multiple inheritance how can use these both classes in mainactivity. appreciated.

use multilevel inheritance instead.

extend appbaseactivity base activity actionbaractivity , extend other activity appbaseactivity. believe trick you.


Comments

Popular posts from this blog

apache - setting document root in antoher partition on ubuntu -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -

Process 'command 'F:\android-sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 1 -