资源简介
从本地相册选择图片裁剪,或者拍照后裁剪,实现修改头像功能。做了兼容性处理。详细效果:https://blog.csdn.net/gengbaolong/article/details/84668216。
代码片段和文件信息
package com.seven.modifyavatarmaster.databinding;
import android.databinding.Bindable;
import android.databinding.DataBindingComponent;
import android.databinding.DataBindingUtil;
import android.databinding.ViewDataBinding;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.github.chrisbanes.photoview.PhotoView;
import com.seven.modifyavatarmaster.viewModel.ModifyViewModel;
public abstract class ActivityModifyAvatarBinding extends ViewDataBinding {
@NonNull
public final ImageView ivBack;
@NonNull
public final ImageView ivRightBg;
@NonNull
public final PhotoView photoView;
@NonNull
public final RelativeLayout rlHeader;
@NonNull
public final TextView tvtitle;
@Bindable
protected ModifyViewModel mViewModel;
protected ActivityModifyAvatarBinding(DataBindingComponent _bindingComponent View _root
int _localFieldCount ImageView ivBack ImageView ivRightBg PhotoView photoView
RelativeLayout rlHeader TextView tvtitle) {
super(_bindingComponent _root _localFieldCount);
this.ivBack = ivBack;
this.ivRightBg = ivRightBg;
this.photoView = photoView;
this.rlHeader = rlHeader;
this.tvtitle = tvtitle;
}
public abstract void setViewModel(@Nullable ModifyViewModel viewModel);
@Nullable
public ModifyViewModel getViewModel() {
return mViewModel;
}
@NonNull
public static ActivityModifyAvatarBinding inflate(@NonNull LayoutInflater inflater
@Nullable ViewGroup root boolean attachToRoot) {
return inflate(inflater root attachToRoot DataBindingUtil.getDefaultComponent());
}
@NonNull
public static ActivityModifyAvatarBinding inflate(@NonNull LayoutInflater inflater
@Nullable ViewGroup root boolean attachToRoot @Nullable DataBindingComponent component) {
return DataBindingUtil.inflate(inflater com.seven.modifyavatarmaster.R.layout.activity_modify_avatar root attachToRoot component);
}
@NonNull
public static ActivityModifyAvatarBinding inflate(@NonNull LayoutInflater inflater) {
return inflate(inflater DataBindingUtil.getDefaultComponent());
}
@NonNull
public static ActivityModifyAvatarBinding inflate(@NonNull LayoutInflater inflater
@Nullable DataBindingComponent component) {
return DataBindingUtil.inflate(inflater com.seven.modifyavatarmaster.R.layout.activity_modify_avatar null false component);
}
public static ActivityModifyAvatarBinding bind(@NonNull View view) {
return bind(view DataBindingUtil.getDefaultComponent());
}
public static ActivityModifyAvatarBinding bind(@NonNull View view
@Nullable DataBindingComponent component) {
return (ActivityModifyAvatarBinding)bind(component v
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 187 2019-02-15 17:07 ModifyAvatarMaster\.gitignore
文件 1 2019-02-15 19:27 ModifyAvatarMaster\.gradle\4.6\fileChanges\last-build.bin
文件 17 2019-02-15 19:27 ModifyAvatarMaster\.gradle\4.6\fileContent\fileContent.lock
文件 277069 2019-02-15 19:27 ModifyAvatarMaster\.gradle\4.6\fileHashes\fileHashes.bin
文件 17 2019-02-15 19:27 ModifyAvatarMaster\.gradle\4.6\fileHashes\fileHashes.lock
文件 21795 2019-02-15 18:58 ModifyAvatarMaster\.gradle\4.6\fileHashes\resourceHashesCache.bin
文件 1530318 2019-02-15 19:27 ModifyAvatarMaster\.gradle\4.6\taskHistory\taskHistory.bin
文件 17 2019-02-15 19:27 ModifyAvatarMaster\.gradle\4.6\taskHistory\taskHistory.lock
文件 17 2019-02-15 19:27 ModifyAvatarMaster\.gradle\buildOutputCleanup\buildOutputCleanup.lock
文件 51 2019-02-15 17:07 ModifyAvatarMaster\.gradle\buildOutputCleanup\cache.properties
文件 21737 2019-02-15 19:27 ModifyAvatarMaster\.gradle\buildOutputCleanup\outputFiles.bin
文件 0 2019-02-15 17:07 ModifyAvatarMaster\.gradle\vcsWorkingDirs\gc.properties
文件 534 2019-02-15 18:24 ModifyAvatarMaster\.idea\caches\build_file_checksums.ser
文件 1803 2019-02-15 17:07 ModifyAvatarMaster\.idea\codest
文件 626 2019-02-15 17:07 ModifyAvatarMaster\.idea\gradle.xm
文件 541 2019-02-15 17:08 ModifyAvatarMaster\.idea\libraries\Gradle__android_arch_core_common_1_1_1_jar.xm
文件 655 2019-02-15 17:08 ModifyAvatarMaster\.idea\libraries\Gradle__android_arch_core_runtime_1_1_1.xm
文件 556 2019-02-15 17:08 ModifyAvatarMaster\.idea\libraries\Gradle__android_arch_lifecycle_common_1_1_1_jar.xm
文件 671 2019-02-15 17:08 ModifyAvatarMaster\.idea\libraries\Gradle__android_arch_lifecycle_livedata_1_1_1.xm
文件 695 2019-02-15 17:08 ModifyAvatarMaster\.idea\libraries\Gradle__android_arch_lifecycle_livedata_core_1_1_1.xm
文件 666 2019-02-15 17:08 ModifyAvatarMaster\.idea\libraries\Gradle__android_arch_lifecycle_runtime_1_1_1.xm
文件 676 2019-02-15 17:08 ModifyAvatarMaster\.idea\libraries\Gradle__android_arch_lifecycle_viewmodel_1_1_1.xm
文件 672 2019-02-15 17:43 ModifyAvatarMaster\.idea\libraries\Gradle__com_android_databinding_adapters_3_2_1.xm
文件 583 2019-02-15 17:43 ModifyAvatarMaster\.idea\libraries\Gradle__com_android_databinding_ba
文件 668 2019-02-15 17:43 ModifyAvatarMaster\.idea\libraries\Gradle__com_android_databinding_library_3_2_1.xm
文件 522 2019-02-15 17:08 ModifyAvatarMaster\.idea\libraries\Gradle__com_android_support_animated_vector_drawable_28_0_0.xm
文件 678 2019-02-15 17:08 ModifyAvatarMaster\.idea\libraries\Gradle__com_android_support_appcompat_v7_28_0_0.xm
文件 507 2019-02-15 17:08 ModifyAvatarMaster\.idea\libraries\Gradle__com_android_support_asynclayoutinflater_28_0_0.xm
文件 375 2019-02-15 17:08 ModifyAvatarMaster\.idea\libraries\Gradle__com_android_support_collections_28_0_0_jar.xm
文件 509 2019-02-15 17:08 ModifyAvatarMaster\.idea\libraries\Gradle__com_android_support_constraint_constraint_layout_1_1_3.xm
............此处省略2965个文件信息
相关资源
- 基于sse4的电子相册
- jsp博客系统 日志/相册/评论/留言/配置
- Android webView拍照与展示相册图片
- 安卓电子相册项目源码
- java web个人相册系统
- 基于安卓Android的个人电子相册APP的设
-
JSP+Servlet+xm
l实现在线相册管理 - 电子相册(java web)
- 基于javaweb的某网络相册项目源码
- UpLoadIcon.zip
- Android 调用相机拍照 添加照片水印
- 网络相册(JSP源码)
- 体系结构大作业SSE指令电子相册
- Android 相册获取图片或者相机拍照获取
- 电子相册基于web
- ssm个人相册管理系统毕业设计程序
- 仿Android系统相册
- cordova barcodescanner 仿微信样式并支持从
- Java讯友网络相册源码(附数据库)
- andrid拍照和相册截图功能
- android端 用户点击选择拍照或打开相册
- 简单的相册列表管理SSM+bootstrap,数据
- java微信公众号调用手机摄像头拍照和
- AndroidStudio和unity交互从相册选照片D
- Unity调用Android系统相册
- Java在线相册管理系统
- android 电子相册
- 网络相册管理系统—MVC架构
- HTML+JAVA 手机端相册或者拍照上传到服
- Android头像设置demo,支持从相册选择和
评论
共有 条评论