replaceFragment

Replace a fragment in a view.

Parameters

fragment

A fragment

resId

A resource ID of the view