fun inflate(inflater: LayoutInflater, container: ViewGroup?): View

Inflates the view using the given inflater and container. The view will not be attached to the container immediately as this can lead to unexpected issues.

Intended to be called from Fragment.onCreateView. bindData must be called exactly once in Fragment.onViewCreated after calling this.