Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public abstract class _ASListItem extends ConstraintLayout implements IControl, IASListItem
- {
- private JSONObject jsonObject = new JSONObject();
- public void onSetJSONObject(JSONObject jsonObject)
- {
- this.jsonObject = jsonObject;
- }
- public JSONObject onGetJSONObject() { return this.jsonObject; }
- public _ASListItem(JSONObject jsonObject, Context context)
- {
- super(context);
- this.onSetJSONObject(jsonObject);
- }
- public _ASListItem(JSONObject jsonObject, Context context, AttributeSet attrs)
- {
- super(context,attrs);
- this.onSetJSONObject(jsonObject);
- }
- public _ASListItem(JSONObject jsonObject, Context context, AttributeSet attrs, int defStyle)
- {
- super(context,attrs,defStyle);
- this.onSetJSONObject(jsonObject);
- }
- @Override
- protected void onAttachedToWindow()
- {
- super.onAttachedToWindow();
- this.onSetLayoutView(this);
- this.onInitInstance(this);
- this.onHandleInstance(this);
- this.onUpdateInstance(this);
- }
- }
Add Comment
Please, Sign In to add comment