| | |
| | | |
| | | private static RequestOptions getRequestOptions() { |
| | | return new RequestOptions() |
| | | .placeholder(R.mipmap.ic_launcher) |
| | | .error(R.mipmap.ic_launcher) |
| | | .fallback(R.mipmap.ic_launcher); |
| | | .placeholder(R.drawable.default_user) |
| | | .error(R.drawable.default_user) |
| | | .fallback(R.drawable.default_user); |
| | | // .override(113, 130); |
| | | |
| | | } |
| | |
| | | */ |
| | | public static void getImage(String path, ImageView imageView, int pixels) { |
| | | |
| | | HdlThreadLogic.runThread(new Runnable() { |
| | | HdlThreadLogic.runSubThread(new Runnable() { |
| | | @Override |
| | | public void run() { |
| | | try { |