Android, what is equivalent class of DrawerLayout when not using support library?-ThrowExceptions

Exception or error:

Since my minimum SDK version is 14, I don’t want to add support library to my application.
Based on what Android says on DrawerLayout page, this view group is defined in support library (android.support.v4.widget).

Is there any equivalent class of DrawerLayout if I don’t add support library? Thanks.

How to solve:

No, there is no alternative from within the AOSP code.
If you’re using the ViewPager you’ll need the support library anyways.

Leave a Reply

Your email address will not be published. Required fields are marked *