| | |
| | | * 动态--活动 |
| | | */ |
| | | |
| | | public class SendCircleFragmet extends RetainViewFragment implements AdapterEventActionListener, PermissionInterface { |
| | | public class SendCircleFragmet extends RetainViewFragment implements SendCircleAdapter.AdapterEventActionListener, PermissionInterface { |
| | | |
| | | |
| | | private RefreshLayout srl_send_circle; |
| | |
| | | } |
| | | }; |
| | | |
| | | /** |
| | | * 时间添加0 |
| | | * |
| | | * @param time |
| | | * @return |
| | | */ |
| | | private String setTimeSupplement(long time) { |
| | | String t = ""; |
| | | if (time < 10 && time > 0) { |
| | | t = "0" + time; |
| | | } else if (time == 0 || time >= 10) { |
| | | t = "" + time; |
| | | } |
| | | return t; |
| | | } |
| | | |
| | | private void resumeAction() { |
| | | if (actionParams != null) { |
| | |
| | | } |
| | | } |
| | | |
| | | //adapter中的事件响应 |
| | | interface AdapterEventActionListener { |
| | | //复制评论 |
| | | public void copyComment(SendCircleContent content, SendCircleCommment comment); |
| | | |
| | | //生成二维码 |
| | | public void createERCode(SendCircleContent content, List<SendCircleImage> imgList, SendCircleImage img, int position); |
| | | |
| | | //分享 |
| | | public void share(SendCircleContent content); |
| | | |
| | | //批量存图 |
| | | public void saveImgs(SendCircleContent content); |
| | | |
| | | //复制推荐语 |
| | | public void copyRecommendText(SendCircleContent content); |
| | | |
| | | public void sendOrder(SendCircleContent content); |
| | | } |
| | | |
| | | interface IPrePareSuccessListener { |
| | | public void onSuccess(); |