|
@@ -9,6 +9,7 @@ import android.view.View;
|
|
|
import android.view.ViewGroup;
|
|
|
import android.widget.ArrayAdapter;
|
|
|
import android.widget.CheckBox;
|
|
|
+import android.widget.EditText;
|
|
|
import android.widget.ImageView;
|
|
|
import android.widget.Switch;
|
|
|
import android.widget.TextView;
|
|
@@ -52,6 +53,8 @@ public class BaseListAdapter extends ArrayAdapter<BaseModel> {
|
|
|
view = LayoutInflater.from(getContext()).inflate(R.layout.item_title_subtitle, null);
|
|
|
} else if (model.cellType == Constant.CellType.TITLE_CENTER) {
|
|
|
view = LayoutInflater.from(getContext()).inflate(R.layout.item_title_center, null);
|
|
|
+ } else if (model.cellType == Constant.CellType.TITLE_EDIT) {
|
|
|
+ view = LayoutInflater.from(getContext()).inflate(R.layout.item_title_edit, null);
|
|
|
} else if (model.cellType == Constant.CellType.ICON_TITLE) {
|
|
|
view = LayoutInflater.from(getContext()).inflate(R.layout.item_icon_title, null);
|
|
|
} else if (model.cellType == Constant.CellType.ICON_TITLE_SUBTITLE) {
|
|
@@ -73,6 +76,7 @@ public class BaseListAdapter extends ArrayAdapter<BaseModel> {
|
|
|
assert view != null;
|
|
|
TextView itemTitle = view.findViewById(R.id.item_title);
|
|
|
TextView itemSubTitle = view.findViewById(R.id.item_subtitle);
|
|
|
+ EditText itemEdit = view.findViewById(R.id.item_edit);
|
|
|
ImageView itembackground = view.findViewById(R.id.item_background);
|
|
|
ImageView itemIcon = view.findViewById(R.id.item_icon);
|
|
|
ImageView itemArrow = view.findViewById(R.id.item_arrow);
|