core/src/main/java/org/hitogo/button/core/ButtonImpl.java
protected ButtonImpl<T> create(@NonNull HitogoContainer container, @NonNull T params) {
        this.containerRef = new WeakReference<>(container);
        this.controller = container.getController();
        this.accessor = controller.provideAccessor();
        this.helper = controller.provideHelper();
        this.params = params;
        this.buttonType = params.getButtonType();

        if (getController().provideIsDebugState()) {
            onCheck(params);
        }

        onCreate(params);
        return this;
    }
/**
     * Creates the button and starts the internal lifecycle process. This method is only used by
     * the builder system internally.
     *
     * @param container Reference to the HitogoContainer which has been used to
     *                  create this object.
     * @param params    Reference to parameter holder class which is providing the builder values.
     * @return Created button object which can be used to be displayed.
     * @see HitogoContainer
     * @see ButtonParams
     * @since 1.0.0
     */
Creates the button and starts the internal lifecycle process. This method is only used by
the builder system internally.

@param container Reference to the HitogoContainer which has been used to
create this object.
@param params    Reference to parameter holder class which is providing the builder values.
@return Created button object which can be used to be displayed.
Creates the button and starts the internal lifecycle process . This method is only used by the builder system internally . @param container Reference to the HitogoContainer which has been used to create this object . @param params Reference to parameter holder class which is providing the builder values . @return Created button object which can be used to be displayed .
protected ButtonImpl<T> create(@NonNull HitogoContainer container, @NonNull T params) {
        this.containerRef = new WeakReference<>(container);
        this.controller = container.getController();
        this.accessor = controller.provideAccessor();
        this.helper = controller.provideHelper();
        this.params = params;
        this.buttonType = params.getButtonType();
        if (getController().provideIsDebugState()) {
            onCheck(params);
        }
        onCreate(params);
        return this;
    }
protected ButtonImpl < T > create ( @ NonNull HitogoContainer container , @ NonNull T params ) { this . containerRef = new WeakReference < > ( container ) ; this . controller = container . getController ( ) ; this . accessor = controller . provideAccessor ( ) ; this . helper = controller . provideHelper ( ) ; this . params = params ; this . buttonType = params . getButtonType ( ) ; if ( getController ( ) . provideIsDebugState ( ) ) { onCheck ( params ) ; } onCreate ( params ) ; return this ; }
Creates the button and starts the internal lifecycle process.
Creates the button and starts the internal lifecycle process .