底部的按钮调整完成
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user