/** * Bind the attributes of the view and config * the DraggerView with these params. */ @Override protected void onFinishInflate() { super.onFinishInflate(); if (!isInEditMode()) { mapGUI(attributes); attributes.recycle(); configDragViewHelper(); preparePosition(); } }