|
|
@@ -22,6 +22,7 @@ import androidx.appcompat.app.AppCompatActivity; |
|
|
|
import androidx.fragment.app.DialogFragment; |
|
|
|
|
|
|
|
import com.apkfuns.logutils.LogUtils; |
|
|
|
import com.bonait.bnframework.MainApplication; |
|
|
|
import com.bonait.bnframework.R; |
|
|
|
import com.bonait.bnframework.business.ExecuteTheRecipe; |
|
|
|
import com.bonait.bnframework.business.RecordManager; |
|
|
@@ -741,10 +742,10 @@ public class EditGoodsDialog extends DialogFragment { |
|
|
|
picUrl= ""; |
|
|
|
} |
|
|
|
LogUtils.d(TAG+" updateCircleImage url="+url); |
|
|
|
if(picUrl.isEmpty()){ |
|
|
|
if(picUrl.isEmpty()||(!picUrl.contains("png")&&!picUrl.contains("jpg")&&!picUrl.contains("jpeg"))){ |
|
|
|
viewBinding.layoutName.goodImage.setImageResource(R.mipmap.loading123); |
|
|
|
}else { |
|
|
|
GlideUtil.showImageWithRadius(getContext(),url,viewBinding.layoutName.goodImage, |
|
|
|
GlideUtil.showImageWithRadius(getContext(),ConfigName.getFileRoot(MainApplication.getContext())+ConfigName.dataPath+"/WebImage/"+url,viewBinding.layoutName.goodImage, |
|
|
|
R.mipmap.loading123, DimensUtil.getDimens(0)); |
|
|
|
} |
|
|
|
} |
|
|
|