Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disadvantages of using Android Compatibility Library on Honeycomb [closed]

I would like to know your opinion on disadvantages of using ACL on Honeycomb devices.

I think of using the Library for my application exclusively - even when it runs on Honeycomb itself - otherwise I would have to create 2 versions of mostly identical classes.

Primarily I am interested in functionality (bugs) of Compatibility Library, its performance and memory usage vs native Honeycomb SDK. So if you have experience with creating separate classes both for ACL and for Honeycomb, let me know if results were worth the efforts - should I create duplicate classes or go with ACL-only.

As always, thanks for your support :)

like image 797
myself Avatar asked Oct 24 '22 21:10

myself


1 Answers

If you plan to have one binary for both tablets and handsets, your fragments should all extend from the ACL -- otherwise you'll be building two apps. The benefit of the ACL is that you can build your app once (by extending its compatibility classes) and then run those fragments on all API levels >= 4.

The biggest drawback we encountered were ACL bugs related to animations and the back button on Honeycomb -- but these were [mostly] fixed with the support package r4. I don't recall any other issues (if there were any they were small enough that I don't remember them now).

like image 172
Drew DeNardo Avatar answered Oct 27 '22 09:10

Drew DeNardo