feat: 增加联系人增删改查

This commit is contained in:
2026-05-19 11:40:50 +08:00
parent da83e852e0
commit c878c307b3
1129 changed files with 10342 additions and 2682 deletions

View File

@@ -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"})