Attaches the MenuDrawer to the Activity.

@param activity The activity the menu drawer will be attached to.
@param type     The {@link Type} of the drawer.
@param position Where to position the menu.
@return The created MenuDrawer instance.
165165
public static MenuDrawer attach(Activity activity, Type type, Position position) {
        return attach(activity, type, position, MENU_DRAG_CONTENT);
    }
941647
@SuppressWarnings("unchecked")
    public <T extends WebLocatorAbstractBuilder> T setType(final String type) {
        pathBuilder.setType(type);
        return (T) this;
    }
220851
public void addItemsAtPosition(int position, @NonNull IDrawerItem... drawerItems) {
        mDrawerBuilder.getItemAdapter().add(position, drawerItems);
    }
533249
public static <T> Position.ReadWrite<T> readWrite(final Class<T> type) {
        return readWrite((Type) type);
    }
1118208
public void setPositionType(com.google.api.ads.admanager.axis.v201805.VideoPositionType positionType) {
        this.positionType = positionType;
    }
1333583
public static TypeAnnotationPosition
        field(final List<TypePathEntry> location,
              final JCLambda onLambda,
              final int pos) {
        return new TypeAnnotationPosition(TargetType.FIELD, pos,
                                          Integer.MIN_VALUE, onLambda,
                                          Integer.MIN_VALUE, Integer.MIN_VALUE,
                                          location);
    }
441695
public static TypeAnnotationPosition
        instanceOf(final List<TypePathEntry> location,
                   final JCLambda onLambda,
                   final int pos) {
        return new TypeAnnotationPosition(TargetType.INSTANCEOF, pos,
                                          Integer.MIN_VALUE, onLambda,
                                          Integer.MIN_VALUE, Integer.MIN_VALUE,
                                          location);
    }
137039
public void onPostBindView(IDrawerItem drawerItem, View view) {
        if (mOnPostBindViewListener != null) {
            mOnPostBindViewListener.onBindView(drawerItem, view);
        }
    }
560147
public FastAdapterDialog<Item> add(int position, Item item) {
        mItemAdapter.add(position, item);
        return this;
    }
383084
public DrawerView removeFixedItem(int position) {
        mAdapterFixed.getItem(position).detach();
        mAdapterFixed.remove(mAdapterFixed.getItem(position));
        updateFixedList();
        return this;
    }
991661
public static void apply(Activity activity, int viewId, Face type){
        TextView text = (TextView) activity.findViewById(viewId);
        if(text != null)
            apply(text, type);
    }
1197549
public static TypeAnnotationPosition
        exceptionParameter(final List<TypePathEntry> location,
                           final JCLambda onLambda,
                           final int pos) {
        return new TypeAnnotationPosition(TargetType.EXCEPTION_PARAMETER, pos,
                                          Integer.MIN_VALUE, onLambda,
                                          Integer.MIN_VALUE, Integer.MIN_VALUE,
                                          location);
    }
372912
@SuppressLint("InflateParams")
    protected View onCreateView(Context context, LayoutInflater layoutInflater, int type) {
        return layoutInflater.inflate(R.layout.supertoast, null);
    }
1223384
public static SwipeBack attach(Activity activity, Type type) {
		return attach(activity, type, Position.START);
	}
775739
public static <T> Position.Writable<T> writable(final Type type) {
        return writable(type, noop());
    }
616180
public void setNavigationDrawer(final int status){
		final View homeView = getter.getView("home", 0);
		final View leftDrawer = getter.getView("left_drawer", 0);
		
		try{
			switch (status) {
			
			case CLOSED:
				if(leftDrawer != null && homeView != null && leftDrawer.isShown()){
					clicker.clickOnScreen(homeView);
				}
				break;
				
			case OPENED:
				if(leftDrawer != null && homeView != null &&  !leftDrawer.isShown()){
					clicker.clickOnScreen(homeView);

					Condition condition = new Condition() {

						@Override
						public boolean isSatisfied() {
							return leftDrawer.isShown();
						}
					};
					waiter.waitForCondition(condition, Timeout.getSmallTimeout());
				}
				break;
			}
		}catch (Exception ignored){}
	}
748163
public static void typeface(Activity activity, TypefaceCollection typefaceCollection) {
		typeface(activity.findViewById(android.R.id.content), typefaceCollection);
	}