feat: 增加联系人增删改查

This commit is contained in:
tongtong committed 2026-05-19 11:40:50 +08:00
1 parent da83e852e0
commit c878c307b3
1129 files changed
+10342 -2682

No files matched your search

@@ -8,6 +8,7 @@ import androidx.databinding.BindingAdapter;
import com.bumptech.glide.Glide;
import com.ttstd.dialer.R;
import com.ttstd.dialer.utils.GlideUtils;
public class ImageViewAdapter {
@BindingAdapter("android:src")
@@ -34,10 +35,7 @@ public class ImageViewAdapter {
*/
@BindingAdapter({"imageUrl", "error"})
public static void loadImage(ImageView imageView, String url, Drawable error) {
Glide.with(imageView.getContext())
.load(url)
.error(error)
.into(imageView);
GlideUtils.loadImageSafe(imageView.getContext(), url, imageView, error);
}
@BindingAdapter({"imageAvatarUrl", "error"})