Android : java multiple inheritance ActionBarActivity

on Friday, April 3, 2015


I've got a class (it's my main activity) that already extends other class:



public class AdvancePreferences extends Preferences


I would like to use v7 ActionBar. According to this site: https://developer.android.com/training/basics/actionbar/setting-up.html I need to extend ActionBarActivity. It looks like I need multiple inheritance here:



public class AdvancePreferences extends Preferences extends ActionBarActivity


How can I resolve this problem? I do not want to lose Preferences feature.


0 comments:

Post a Comment