Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Well @Jake implementation goes way further than what the Actionbar compat, to be more precise Actionbar Compat is just a basic example on how can you support all aplication with a pseudo-actionbar for releases prior from Honeycomb (API 13). Although their target is the same cross compatible actionbar, they have diferent approach.</p> <p><strong>ActionbarCompat Aproach</strong></p> <p>This implementation make no use of the Compatibility Android support library instead it create a base class called <a href="http://developer.android.com/resources/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ActionBarActivity.html" rel="noreferrer">ActionBarActivity</a> create a single instance of a <a href="http://developer.android.com/resources/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ActionBarHelper.html" rel="noreferrer">Helper</a> this helper act as factory itself that returns diferent implementation for the three segment of APIS, it returns</p> <ul> <li><a href="http://developer.android.com/resources/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ActionBarHelperBase.html" rel="noreferrer">ActionbarBaseHelper</a>: for prior to HoneyComb.</li> <li><a href="http://developer.android.com/resources/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ActionBarHelperHoneycomb.html" rel="noreferrer">ActionBarHoneyComb</a>: for HoneyComb</li> <li><a href="http://developer.android.com/resources/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ActionBarHelperICS.html" rel="noreferrer">ActionBarHelperICS</a>: for ICS base devices.</li> </ul> <p>The most interesting part is in the <a href="http://developer.android.com/resources/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ActionBarHelperBase.html" rel="noreferrer">ActionbarBaseHelper</a>, because it has the most important code, I suggest you understand this class and you will get the whole example.</p> <p><strong>Action Bar Sherlock</strong> </p> <p>Well this is tricky firstable because, I'm not the author maybe Jake can explained further this, but I'll give it a try. </p> <p>Just as the compat Sherlock make diferent implementation but one is for "Compat" and the other is Native. It force you to extends either from SherlockActivity or from SherlockFragmentActivity, because this two base classes have the method for dispatching the ActionBar. </p> <p>This is a large and complex project, that cannot be explained in a single post. Suggest you dig around <a href="https://github.com/JakeWharton/ActionBarSherlock" rel="noreferrer">Sherlock Github repo</a> grab a look and as <a href="http://www.codinghorror.com/blog/2012/04/learn-to-read-the-source-luke.html" rel="noreferrer">Jeff Atwood</a> says</p> <p><img src="https://i.stack.imgur.com/lBK3I.jpg" alt="enter image description here"></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload