org.solovyev.android.sherlock
Class AndroidSherlockUtils

java.lang.Object
  extended by org.solovyev.android.sherlock.AndroidSherlockUtils

public final class AndroidSherlockUtils
extends Object

User: serso Date: 8/13/12 Time: 2:04 AM


Method Summary
static ActionBar getSupportActionBar(android.app.Activity activity)
           
static ActionBar getSupportActionBar(Fragment fragment)
           
static MenuInflater getSupportMenuInflater(android.app.Activity activity)
           
static ListAdapter<String> newSherlockDefaultAdapter(SherlockFragmentActivity activity, List<String> items)
           
static void showDialog(DialogFragment dialogFragment, String fragmentTag, FragmentManager fm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSupportActionBar

@Nonnull
public static ActionBar getSupportActionBar(@Nonnull
                                                    android.app.Activity activity)

getSupportActionBar

public static ActionBar getSupportActionBar(@Nonnull
                                            Fragment fragment)

newSherlockDefaultAdapter

@Nonnull
public static ListAdapter<String> newSherlockDefaultAdapter(@Nonnull
                                                                    SherlockFragmentActivity activity,
                                                                    @Nonnull
                                                                    List<String> items)

getSupportMenuInflater

@Nonnull
public static MenuInflater getSupportMenuInflater(@Nonnull
                                                          android.app.Activity activity)

showDialog

public static void showDialog(@Nonnull
                              DialogFragment dialogFragment,
                              @Nonnull
                              String fragmentTag,
                              @Nonnull
                              FragmentManager fm)


Copyright © 2014 se.solovyev. All Rights Reserved.