Back to project page android-mvc-framework.
The source code is released under:
Apache License
If you think the Android project android-mvc-framework listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.android_mvc.framework.controller.routing; //from w w w . j av a 2s .c om import java.util.HashMap; import android.app.Activity; /** * ????????????????????????????????????????????????????????????????????????????? * @author id:language_and_engineering * */ public class TabContentMapping { // ????? private HashMap<String, Class<? extends Activity>> map = new HashMap<String, Class<? extends Activity>>(); /** * ????????? */ public TabContentMapping add(String tabTag, Class<? extends Activity> activity_class) { map.put(tabTag, activity_class); return this; } /** * ?????????????????????????? * ??????????????????null?????? */ public Class<? extends Activity> getByTag( String tabTag ) { return map.get(tabTag); } }