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.action; /*from ww w .j av a 2 s .co m*/ import java.util.HashMap; import com.android_mvc.framework.controller.routing.IntentPortable; import android.app.Activity; /** * BL?????????????????? * Intent????????????????? * @author id:language_and_engineering * */ public class ActionResult implements IntentPortable { private static final long serialVersionUID = 1L; private HashMap<String, Object> arr; private String route_id; public ActionResult() { arr = new HashMap<String, Object>(); } /** * ???? */ public ActionResult add(String key, Object val) { arr.put(key, val); return this; } /** * ?????? */ public Object get(String key) { return arr.get(key); } /** * BL?????????????????? * ????????????????????override????????? */ public void onNextActivityStarted(Activity activity) { } /** * ???????????????????????????? */ public ActionResult setRouteId( String s ) { this.route_id = s; return this; } /** * ????????????????????????????? */ public String getRouteId() { return this.route_id; } }