底部的按钮调整完成

This commit is contained in:
ningwenqiang
2024-09-14 10:05:31 +08:00
parent 73ea623700
commit 0a08b67fb1
10 changed files with 224 additions and 400 deletions

View File

@@ -26,7 +26,13 @@ public abstract class AbsViewHolder implements LifeCycleListener {
mTag = getClass().getSimpleName();
mContext = context;
mParentView = parentView;
mContentView = LayoutInflater.from(context).inflate(getLayoutId(), mParentView, false);
try {
mContentView = LayoutInflater.from(context).inflate(getLayoutId(), mParentView, false);
}catch (Exception e){
L.e("AbsViewHolder",e.toString());
}
if (mContentView == null)
L.e("AbsViewHolder","mContentView==null");
init();
}
@@ -35,7 +41,13 @@ public abstract class AbsViewHolder implements LifeCycleListener {
processArguments(args);
mContext = context;
mParentView = parentView;
mContentView = LayoutInflater.from(context).inflate(getLayoutId(), mParentView, false);
try {
mContentView = LayoutInflater.from(context).inflate(getLayoutId(), mParentView, false);
}catch (Exception e){
L.e("AbsViewHolder",e.toString());
}
if (mContentView == null)
L.e("AbsViewHolder","mContentView==null");
init();
}