Delete IconicsMenuInflater from view-module
- Small refactoring
MODIFY
iconics-view-library/src/main/java/com/mikepenz/iconics/internal/CheckableIconBundle.java
iconics-view-library/src/main/java/com/mikepenz/iconics/internal/CheckableIconBundle.java
@@ -31,16 +31,15 @@ import static android.support.annotation.RestrictTo.Scope.LIBRARY_GROUP;
@RestrictTo(LIBRARY_GROUP)
public class CheckableIconBundle {
public boolean mAnimateChanges;
- public IconicsDrawable mCheckedIconBundle;
- public IconicsDrawable mUncheckedIconBundle;
+ public IconicsDrawable mCheckedIcon;
+ public IconicsDrawable mUncheckedIcon;
public void createIcons(Context ctx) {
- mCheckedIconBundle = new IconicsDrawable(ctx);
- mUncheckedIconBundle = new IconicsDrawable(ctx);
+ mCheckedIcon = new IconicsDrawable(ctx);
+ mUncheckedIcon = new IconicsDrawable(ctx);
}
public StateListDrawable createStates(Context ctx) {
- return Utils.getCheckableIconStateList(ctx, mUncheckedIconBundle,
- mCheckedIconBundle, mAnimateChanges);
+ return Utils.getCheckableIconStateList(ctx, mUncheckedIcon, mCheckedIcon, mAnimateChanges);
}
}

MODIFY
iconics-view-library/src/main/java/com/mikepenz/iconics/internal/CompoundIconsBundle.java
iconics-view-library/src/main/java/com/mikepenz/iconics/internal/CompoundIconsBundle.java
@@ -30,19 +30,19 @@ import static android.support.annotation.RestrictTo.Scope.LIBRARY_GROUP;
*/
@RestrictTo(LIBRARY_GROUP)
public class CompoundIconsBundle {
- public IconicsDrawable mStartIconBundle;
- public IconicsDrawable mTopIconBundle;
- public IconicsDrawable mEndIconBundle;
- public IconicsDrawable mBottomIconBundle;
+ public IconicsDrawable mStartIcon;
+ public IconicsDrawable mTopIcon;
+ public IconicsDrawable mEndIcon;
+ public IconicsDrawable mBottomIcon;
public void setIcons(TextView textView) {
Drawable[] drawables = TextViewCompat.getCompoundDrawablesRelative(textView);
TextViewCompat.setCompoundDrawablesRelativeWithIntrinsicBounds(textView,
- mStartIconBundle != null ? mStartIconBundle : drawables[0],
- mTopIconBundle != null ? mTopIconBundle : drawables[1],
- mEndIconBundle != null ? mEndIconBundle : drawables[2],
- mBottomIconBundle != null ? mBottomIconBundle : drawables[3]
+ mStartIcon != null ? mStartIcon : drawables[0],
+ mTopIcon != null ? mTopIcon : drawables[1],
+ mEndIcon != null ? mEndIcon : drawables[2],
+ mBottomIcon != null ? mBottomIcon : drawables[3]
);
}
}

MODIFY
iconics-view-library/src/main/java/com/mikepenz/iconics/internal/IconicsViewsAttrsReader.java
iconics-view-library/src/main/java/com/mikepenz/iconics/internal/IconicsViewsAttrsReader.java
@@ -109,16 +109,16 @@ public class IconicsViewsAttrsReader extends IconicsAttrsReader {
IconicsDrawable allIcon = getIconicsTextViewAllDrawable(ctx, a);
//obtaining attributes for start icons
- bundle.mStartIconBundle = getIconicsTextViewStartDrawable(ctx, a, allIcon);
+ bundle.mStartIcon = getIconicsTextViewStartDrawable(ctx, a, allIcon);
//obtaining attributes for top icons
- bundle.mTopIconBundle = getIconicsTextViewTopDrawable(ctx, a, allIcon);
+ bundle.mTopIcon = getIconicsTextViewTopDrawable(ctx, a, allIcon);
//obtaining attributes for end icons
- bundle.mEndIconBundle = getIconicsTextViewEndDrawable(ctx, a, allIcon);
+ bundle.mEndIcon = getIconicsTextViewEndDrawable(ctx, a, allIcon);
//obtaining attributes for bottom icons
- bundle.mBottomIconBundle = getIconicsTextViewBottomDrawable(ctx, a, allIcon);
+ bundle.mBottomIcon = getIconicsTextViewBottomDrawable(ctx, a, allIcon);
a.recycle();
}
@@ -369,10 +369,10 @@ public class IconicsViewsAttrsReader extends IconicsAttrsReader {
TypedArray a = ctx.obtainStyledAttributes(attrs, R.styleable.IconicsCompoundButton, 0, 0);
//obtaining attributes for Checked icon state
- icon.mCheckedIconBundle = getIconicsCompoundButtonCheckedDrawable(ctx, a, icon.mCheckedIconBundle);
+ icon.mCheckedIcon = getIconicsCompoundButtonCheckedDrawable(ctx, a, icon.mCheckedIcon);
//obtaining attributes for Unchecked icon state
- icon.mUncheckedIconBundle = getIconicsCompoundButtonUncheckedDrawable(ctx, a, icon.mUncheckedIconBundle);
+ icon.mUncheckedIcon = getIconicsCompoundButtonUncheckedDrawable(ctx, a, icon.mUncheckedIcon);
a.recycle();
}
@@ -491,16 +491,16 @@ public class IconicsViewsAttrsReader extends IconicsAttrsReader {
IconicsDrawable allIcon = getIconicsCheckableTextViewAllDrawable(ctx, a);
//obtaining attributes for start icons
- bundle.mStartIconBundle = getIconicsCheckableTextViewStartDrawable(ctx, a, allIcon);
+ bundle.mStartIcon = getIconicsCheckableTextViewStartDrawable(ctx, a, allIcon);
//obtaining attributes for top icons
- bundle.mTopIconBundle = getIconicsCheckableTextViewTopDrawable(ctx, a, allIcon);
+ bundle.mTopIcon = getIconicsCheckableTextViewTopDrawable(ctx, a, allIcon);
//obtaining attributes for end icons
- bundle.mEndIconBundle = getIconicsCheckableTextViewEndDrawable(ctx, a, allIcon);
+ bundle.mEndIcon = getIconicsCheckableTextViewEndDrawable(ctx, a, allIcon);
//obtaining attributes for bottom icons
- bundle.mBottomIconBundle = getIconicsCheckableTextViewBottomDrawable(ctx, a, allIcon);
+ bundle.mBottomIcon = getIconicsCheckableTextViewBottomDrawable(ctx, a, allIcon);
a.recycle();
}

DELETE
iconics-view-library/src/main/java/com/mikepenz/iconics/utils/IconicsMenuInflaterUtil.java
-/*
- * Copyright 2017 Mike Penz
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.mikepenz.iconics.utils;
-
-import android.content.Context;
-import android.content.res.XmlResourceParser;
-import android.util.AttributeSet;
-import android.util.Xml;
-import android.view.Menu;
-import android.view.MenuInflater;
-
-import com.mikepenz.iconics.IconicsDrawable;
-import com.mikepenz.iconics.internal.IconicsViewsAttrsReader;
-
-import org.xmlpull.v1.XmlPullParser;
-import org.xmlpull.v1.XmlPullParserException;
-
-import java.io.IOException;
-import java.util.HashMap;
-
-/**
- * Created by flisar on 23.05.2017.
- */
-public class IconicsMenuInflaterUtil {
-
- /**
- * Menu tag name in XML.
- */
- private static final String XML_MENU = "menu";
-
- /**
- * Item tag name in XML.
- */
- private static final String XML_ITEM = "item";
-
- /*
- * Default menu inflater
- * Uses the IconicsImageView styleable tags to get the iconics data of menu items
- */
- public static void inflate(MenuInflater inflater, Context context, int menuId, Menu menu) {
- inflate(inflater, context, menuId, menu, false);
- }
-
- /*
- * Default menu inflater
- * Uses the IconicsImageView styleable tags to get the iconics data of menu items
- *
- * By default, menus don't show icons for sub menus, but this can be enabled via reflection
- * So use this function if you want that sub menu icons are checked as well
- */
- public static void inflate(MenuInflater inflater, Context context, int menuId, Menu menu, boolean checkSubMenus) {
- inflater.inflate(menuId, menu);
- try {
- XmlResourceParser parser = context.getResources().getXml(menuId);
- AttributeSet attrs = Xml.asAttributeSet(parser);
- parseMenu(context, attrs, parser, menu, checkSubMenus);
- } catch (XmlPullParserException e) {
- e.printStackTrace();
- } catch (IOException e) {
- e.printStackTrace();
- }
- }
-
- private static void parseMenu(Context context, AttributeSet attrs, XmlPullParser parser, Menu menu, boolean checkSubMenus) throws XmlPullParserException, IOException {
- int eventType = parser.getEventType();
- String tagName;
- boolean lookingForEndOfUnknownTag = false;
- String unknownTagName = null;
-
- // This loop will skip to the menu start tag
- do {
- if (eventType == XmlPullParser.START_TAG) {
- tagName = parser.getName();
- if (XML_MENU.equals(tagName)) {
- // Go to next tag
- eventType = parser.next();
- break;
- }
-
- throw new RuntimeException("Expecting menu, got " + tagName);
- }
- eventType = parser.next();
- } while (eventType != XmlPullParser.END_DOCUMENT);
-
- boolean reachedEndOfMenu = false;
- while (!reachedEndOfMenu) {
- switch (eventType) {
- case XmlPullParser.START_TAG:
- if (lookingForEndOfUnknownTag) {
- break;
- }
- tagName = parser.getName();
- switch (tagName) {
- case XML_ITEM:
- HashMap<String, String> attrsMap = new HashMap<>();
- for (int i = 0; i < parser.getAttributeCount(); i++) {
- attrsMap.put(parser.getAttributeName(i), parser.getAttributeValue(i));
- }
- IconicsDrawable icon = IconicsViewsAttrsReader.getIconicsImageViewDrawable(context, attrs);
- if (icon != null) {
- int id = Integer.parseInt(attrsMap.get("id").replace("@", ""));
- menu.findItem(id).setIcon(icon);
- }
- break;
-
- case XML_MENU:
- // TODO: maybe we must pass in the sub menu in this case, not sure if the function menu.findItem(id) will search through sub items
- if (checkSubMenus) {
- parseMenu(context, attrs, parser, menu, checkSubMenus);
- }
- break;
-
- default:
- lookingForEndOfUnknownTag = true;
- unknownTagName = tagName;
- break;
- }
- break;
-
- case XmlPullParser.END_TAG:
- tagName = parser.getName();
- if (lookingForEndOfUnknownTag && tagName.equals(unknownTagName)) {
- lookingForEndOfUnknownTag = false;
- unknownTagName = null;
- } else if (XML_MENU.equals(tagName)) {
- reachedEndOfMenu = true;
- }
- break;
-
- case XmlPullParser.END_DOCUMENT:
- throw new RuntimeException("Unexpected end of document");
- }
- eventType = parser.next();
- }
- }
-}
\ No newline at end of file

MODIFY
iconics-view-library/src/main/java/com/mikepenz/iconics/view/IconicsButton.java
iconics-view-library/src/main/java/com/mikepenz/iconics/view/IconicsButton.java
@@ -70,8 +70,8 @@ public class IconicsButton extends AppCompatButton implements IconicsView, Compo
//region CompoundIconicsDrawablesImpl
@Override
public IconicsDrawable getIconicsDrawableStart() {
- if (mIconsBundle.mStartIconBundle != null) {
- return mIconsBundle.mStartIconBundle;
+ if (mIconsBundle.mStartIcon != null) {
+ return mIconsBundle.mStartIcon;
} else {
return null;
}
@@ -79,8 +79,8 @@ public class IconicsButton extends AppCompatButton implements IconicsView, Compo
@Override
public IconicsDrawable getIconicsDrawableTop() {
- if (mIconsBundle.mTopIconBundle != null) {
- return mIconsBundle.mTopIconBundle;
+ if (mIconsBundle.mTopIcon != null) {
+ return mIconsBundle.mTopIcon;
} else {
return null;
}
@@ -88,8 +88,8 @@ public class IconicsButton extends AppCompatButton implements IconicsView, Compo
@Override
public IconicsDrawable getIconicsDrawableEnd() {
- if (mIconsBundle.mEndIconBundle != null) {
- return mIconsBundle.mEndIconBundle;
+ if (mIconsBundle.mEndIcon != null) {
+ return mIconsBundle.mEndIcon;
} else {
return null;
}
@@ -97,8 +97,8 @@ public class IconicsButton extends AppCompatButton implements IconicsView, Compo
@Override
public IconicsDrawable getIconicsDrawableBottom() {
- if (mIconsBundle.mBottomIconBundle != null) {
- return mIconsBundle.mBottomIconBundle;
+ if (mIconsBundle.mBottomIcon != null) {
+ return mIconsBundle.mBottomIcon;
} else {
return null;
}
@@ -106,34 +106,34 @@ public class IconicsButton extends AppCompatButton implements IconicsView, Compo
@Override
public void setDrawableStart(@Nullable IconicsDrawable drawable) {
- mIconsBundle.mStartIconBundle = drawable;
+ mIconsBundle.mStartIcon = drawable;
setIcons();
}
@Override
public void setDrawableTop(@Nullable IconicsDrawable drawable) {
- mIconsBundle.mTopIconBundle = drawable;
+ mIconsBundle.mTopIcon = drawable;
setIcons();
}
@Override
public void setDrawableEnd(@Nullable IconicsDrawable drawable) {
- mIconsBundle.mEndIconBundle = drawable;
+ mIconsBundle.mEndIcon = drawable;
setIcons();
}
@Override
public void setDrawableBottom(@Nullable IconicsDrawable drawable) {
- mIconsBundle.mBottomIconBundle = drawable;
+ mIconsBundle.mBottomIcon = drawable;
setIcons();
}
@Override
public void setDrawableForAll(@Nullable IconicsDrawable drawable) {
- mIconsBundle.mStartIconBundle = drawable;
- mIconsBundle.mTopIconBundle = drawable;
- mIconsBundle.mEndIconBundle = drawable;
- mIconsBundle.mBottomIconBundle = drawable;
+ mIconsBundle.mStartIcon = drawable;
+ mIconsBundle.mTopIcon = drawable;
+ mIconsBundle.mEndIcon = drawable;
+ mIconsBundle.mBottomIcon = drawable;
setIcons();
}
//endregion

MODIFY
iconics-view-library/src/main/java/com/mikepenz/iconics/view/IconicsCheckableTextView.java
iconics-view-library/src/main/java/com/mikepenz/iconics/view/IconicsCheckableTextView.java
@@ -92,23 +92,23 @@ public class IconicsCheckableTextView extends IconicsTextView implements Checkab
}
private StateListDrawable createStatesStart() {
- return Utils.getCheckableIconStateList(getContext(), mIconsBundle.mStartIconBundle,
- mCheckedIconsBundle.mStartIconBundle, mAnimateChanges);
+ return Utils.getCheckableIconStateList(getContext(), mIconsBundle.mStartIcon,
+ mCheckedIconsBundle.mStartIcon, mAnimateChanges);
}
private StateListDrawable createStatesTop() {
- return Utils.getCheckableIconStateList(getContext(), mIconsBundle.mTopIconBundle,
- mCheckedIconsBundle.mTopIconBundle, mAnimateChanges);
+ return Utils.getCheckableIconStateList(getContext(), mIconsBundle.mTopIcon,
+ mCheckedIconsBundle.mTopIcon, mAnimateChanges);
}
private StateListDrawable createStatesEnd() {
- return Utils.getCheckableIconStateList(getContext(), mIconsBundle.mEndIconBundle,
- mCheckedIconsBundle.mEndIconBundle, mAnimateChanges);
+ return Utils.getCheckableIconStateList(getContext(), mIconsBundle.mEndIcon,
+ mCheckedIconsBundle.mEndIcon, mAnimateChanges);
}
private StateListDrawable createStatesBottom() {
- return Utils.getCheckableIconStateList(getContext(), mIconsBundle.mBottomIconBundle,
- mCheckedIconsBundle.mBottomIconBundle, mAnimateChanges);
+ return Utils.getCheckableIconStateList(getContext(), mIconsBundle.mBottomIcon,
+ mCheckedIconsBundle.mBottomIcon, mAnimateChanges);
}
@Override
@@ -173,8 +173,8 @@ public class IconicsCheckableTextView extends IconicsTextView implements Checkab
//region CheckedCompoundIconicsDrawablesImpl
@Override
public IconicsDrawable getCheckedIconicsDrawableStart() {
- if (mCheckedIconsBundle.mStartIconBundle != null) {
- return mCheckedIconsBundle.mStartIconBundle;
+ if (mCheckedIconsBundle.mStartIcon != null) {
+ return mCheckedIconsBundle.mStartIcon;
} else {
return null;
}
@@ -182,8 +182,8 @@ public class IconicsCheckableTextView extends IconicsTextView implements Checkab
@Override
public IconicsDrawable getCheckedIconicsDrawableTop() {
- if (mCheckedIconsBundle.mTopIconBundle != null) {
- return mCheckedIconsBundle.mTopIconBundle;
+ if (mCheckedIconsBundle.mTopIcon != null) {
+ return mCheckedIconsBundle.mTopIcon;
} else {
return null;
}
@@ -191,8 +191,8 @@ public class IconicsCheckableTextView extends IconicsTextView implements Checkab
@Override
public IconicsDrawable getCheckedIconicsDrawableEnd() {
- if (mCheckedIconsBundle.mEndIconBundle != null) {
- return mCheckedIconsBundle.mEndIconBundle;
+ if (mCheckedIconsBundle.mEndIcon != null) {
+ return mCheckedIconsBundle.mEndIcon;
} else {
return null;
}
@@ -200,8 +200,8 @@ public class IconicsCheckableTextView extends IconicsTextView implements Checkab
@Override
public IconicsDrawable getCheckedIconicsDrawableBottom() {
- if (mCheckedIconsBundle.mBottomIconBundle != null) {
- return mCheckedIconsBundle.mBottomIconBundle;
+ if (mCheckedIconsBundle.mBottomIcon != null) {
+ return mCheckedIconsBundle.mBottomIcon;
} else {
return null;
}
@@ -209,34 +209,34 @@ public class IconicsCheckableTextView extends IconicsTextView implements Checkab
@Override
public void setCheckedDrawableStart(@Nullable IconicsDrawable drawable) {
- mCheckedIconsBundle.mStartIconBundle = drawable;
+ mCheckedIconsBundle.mStartIcon = drawable;
setIcons();
}
@Override
public void setCheckedDrawableTop(@Nullable IconicsDrawable drawable) {
- mCheckedIconsBundle.mTopIconBundle = drawable;
+ mCheckedIconsBundle.mTopIcon = drawable;
setIcons();
}
@Override
public void setCheckedDrawableEnd(@Nullable IconicsDrawable drawable) {
- mCheckedIconsBundle.mEndIconBundle = drawable;
+ mCheckedIconsBundle.mEndIcon = drawable;
setIcons();
}
@Override
public void setCheckedDrawableBottom(@Nullable IconicsDrawable drawable) {
- mCheckedIconsBundle.mBottomIconBundle = drawable;
+ mCheckedIconsBundle.mBottomIcon = drawable;
setIcons();
}
@Override
public void setCheckedDrawableForAll(@Nullable IconicsDrawable drawable) {
- mCheckedIconsBundle.mStartIconBundle = drawable;
- mCheckedIconsBundle.mTopIconBundle = drawable;
- mCheckedIconsBundle.mEndIconBundle = drawable;
- mCheckedIconsBundle.mBottomIconBundle = drawable;
+ mCheckedIconsBundle.mStartIcon = drawable;
+ mCheckedIconsBundle.mTopIcon = drawable;
+ mCheckedIconsBundle.mEndIcon = drawable;
+ mCheckedIconsBundle.mBottomIcon = drawable;
setIcons();
}
//endregion

MODIFY
iconics-view-library/src/main/java/com/mikepenz/iconics/view/IconicsCompoundButton.java
iconics-view-library/src/main/java/com/mikepenz/iconics/view/IconicsCompoundButton.java
@@ -67,26 +67,26 @@ public class IconicsCompoundButton extends CompoundButton implements IconicsView
}
public void setCheckedIcon(@Nullable IconicsDrawable icon) {
- mIconsBundle.mCheckedIconBundle = icon;
+ mIconsBundle.mCheckedIcon = icon;
setButtonDrawable(mIconsBundle.createStates(getContext()));
}
public void setUncheckedIcon(@Nullable IconicsDrawable icon) {
- mIconsBundle.mUncheckedIconBundle = icon;
+ mIconsBundle.mUncheckedIcon = icon;
setButtonDrawable(mIconsBundle.createStates(getContext()));
}
public IconicsDrawable getCheckedIcon() {
- if (mIconsBundle.mCheckedIconBundle != null) {
- return mIconsBundle.mCheckedIconBundle;
+ if (mIconsBundle.mCheckedIcon != null) {
+ return mIconsBundle.mCheckedIcon;
} else {
return null;
}
}
public IconicsDrawable getUncheckedIcon() {
- if (mIconsBundle.mUncheckedIconBundle != null) {
- return mIconsBundle.mUncheckedIconBundle;
+ if (mIconsBundle.mUncheckedIcon != null) {
+ return mIconsBundle.mUncheckedIcon;
} else {
return null;
}

MODIFY
iconics-view-library/src/main/java/com/mikepenz/iconics/view/IconicsTextView.java
iconics-view-library/src/main/java/com/mikepenz/iconics/view/IconicsTextView.java
@@ -69,8 +69,8 @@ public class IconicsTextView extends AppCompatTextView implements CompoundIconic
//region CompoundIconicsDrawablesImpl
@Override
public IconicsDrawable getIconicsDrawableStart() {
- if (mIconsBundle.mStartIconBundle != null) {
- return mIconsBundle.mStartIconBundle;
+ if (mIconsBundle.mStartIcon != null) {
+ return mIconsBundle.mStartIcon;
} else {
return null;
}
@@ -78,8 +78,8 @@ public class IconicsTextView extends AppCompatTextView implements CompoundIconic
@Override
public IconicsDrawable getIconicsDrawableTop() {
- if (mIconsBundle.mTopIconBundle != null) {
- return mIconsBundle.mTopIconBundle;
+ if (mIconsBundle.mTopIcon != null) {
+ return mIconsBundle.mTopIcon;
} else {
return null;
}
@@ -87,8 +87,8 @@ public class IconicsTextView extends AppCompatTextView implements CompoundIconic
@Override
public IconicsDrawable getIconicsDrawableEnd() {
- if (mIconsBundle.mEndIconBundle != null) {
- return mIconsBundle.mEndIconBundle;
+ if (mIconsBundle.mEndIcon != null) {
+ return mIconsBundle.mEndIcon;
} else {
return null;
}
@@ -96,8 +96,8 @@ public class IconicsTextView extends AppCompatTextView implements CompoundIconic
@Override
public IconicsDrawable getIconicsDrawableBottom() {
- if (mIconsBundle.mBottomIconBundle != null) {
- return mIconsBundle.mBottomIconBundle;
+ if (mIconsBundle.mBottomIcon != null) {
+ return mIconsBundle.mBottomIcon;
} else {
return null;
}
@@ -105,34 +105,34 @@ public class IconicsTextView extends AppCompatTextView implements CompoundIconic
@Override
public void setDrawableStart(@Nullable IconicsDrawable drawable) {
- mIconsBundle.mStartIconBundle = drawable;
+ mIconsBundle.mStartIcon = drawable;
setIcons();
}
@Override
public void setDrawableTop(@Nullable IconicsDrawable drawable) {
- mIconsBundle.mTopIconBundle = drawable;
+ mIconsBundle.mTopIcon = drawable;
setIcons();
}
@Override
public void setDrawableEnd(@Nullable IconicsDrawable drawable) {
- mIconsBundle.mEndIconBundle = drawable;
+ mIconsBundle.mEndIcon = drawable;
setIcons();
}
@Override
public void setDrawableBottom(@Nullable IconicsDrawable drawable) {
- mIconsBundle.mBottomIconBundle = drawable;
+ mIconsBundle.mBottomIcon = drawable;
setIcons();
}
@Override
public void setDrawableForAll(@Nullable IconicsDrawable drawable) {
- mIconsBundle.mStartIconBundle = drawable;
- mIconsBundle.mTopIconBundle = drawable;
- mIconsBundle.mEndIconBundle = drawable;
- mIconsBundle.mBottomIconBundle = drawable;
+ mIconsBundle.mStartIcon = drawable;
+ mIconsBundle.mTopIcon = drawable;
+ mIconsBundle.mEndIcon = drawable;
+ mIconsBundle.mBottomIcon = drawable;
setIcons();
}
//endregion

- Delete IconicsMenuInflater from view-module
 - Small refactoring