on Create View Holder
open override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): CredentialAdapter.CredentialViewHolder
Content copied to clipboard
If there is no (re)usable CredentialViewHolder: create a new one.
Create a new CredentialViewHolder by using the layout of item_credential.xml and calling LayoutInflater to instantiate this layout.