Back to project page FrameLite.
The source code is released under:
GNU General Public License
If you think the Android project FrameLite 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.miku.framelite.api; /* w ww . j a v a 2 s.c om*/ /** * * ????? * @author xr.lee * * @param <T> ??????????? * @param <V> ???????????????V???????????????T */ public interface IRequest<T,V> { /** * ??????? * @return V ????????.?????????null,????result.setRetCode()?result.setMsg()?????????????????? */ V doInBackground(RetResult<T> result); /** * ????????????????retObj?V???result?T?? * @param result * @param retObj * @return ???????????true,??????false */ boolean onParse(RetResult<T> result, V retObj); /** * ?????????????(??????????????????) * @return ?????????? */ boolean isCancelled(); /** * ??????(??????????????????) */ void cancel(); }