P层

package net.goeasyway.uploadimage.presenter;

import net.goeasyway.uploadimage.model.Photo;
import net.goeasyway.uploadimage.model.getModel;
import net.goeasyway.uploadimage.model.getModelIMpl;
import net.goeasyway.uploadimage.utils.Finish;
import net.goeasyway.uploadimage.view.getView; import java.util.List; /**
* Created by lenovo on 2017/12/15.
*/ public class getPresenterImpl{
private final getModel model;
getView view; public getPresenterImpl(getView view) {
this.view = view;
model=new getModelIMpl();
} public void guanlian(){
model.getData(new Finish<List<Photo>>() {
@Override
public void onfinish(List<Photo> photos) {
view.ShowData(photos);
}
});
} }
上一篇:如果这样来理解HTTPS,一篇就够了!


下一篇:oracle_PLSQL 快捷键使用技巧