| | |
| | | import java.util.List; |
| | | |
| | | import cn.com.basic.face.discern.query.item.FacePhotoItem; |
| | | import cn.com.basic.face.discern.query.item.VisitorQueryItem; |
| | | import cn.com.basic.face.discern.query.item.CheckInQueryItem; |
| | | |
| | | /** |
| | | * Created by zhangbo on 2017/2/15. |
| | |
| | | ImageView fragment_home_bottom_register_cell_photo = holder.findViewById(R.id.fragment_home_bottom_register_cell_photo); |
| | | TextView fragment_home_bottom_register_cell_to_register = holder.findViewById(R.id.fragment_home_bottom_register_cell_to_register); |
| | | |
| | | if (data instanceof VisitorQueryItem) { |
| | | final VisitorQueryItem item = (VisitorQueryItem)data; |
| | | if (data instanceof CheckInQueryItem) { |
| | | final CheckInQueryItem item = (CheckInQueryItem)data; |
| | | fragment_home_bottom_register_cell_photo.setImageURI(Uri.parse(AppApi.IMAGEURL_BASE +item.getImagePath())); |
| | | fragment_home_bottom_register_cell_to_register.setOnClickListener(new View.OnClickListener(){ |
| | | @Override |
| | |
| | | } |
| | | |
| | | fragment_home_bottom_visitor_cell_name.setText(""); |
| | | if (data instanceof VisitorQueryItem) { |
| | | final VisitorQueryItem item = (VisitorQueryItem)data; |
| | | if (data instanceof CheckInQueryItem) { |
| | | final CheckInQueryItem item = (CheckInQueryItem)data; |
| | | fragment_home_bottom_visitor_cell_name.setText(item.getName()); |
| | | fragment_home_bottom_visitor_cell_photo.setImageURI(Uri.parse(AppApi.IMAGEURL_BASE +item.getImagePath())); |
| | | if (1==1) { |