-
Notifications
You must be signed in to change notification settings - Fork 0
Fragment Container communication
Tuong-Nguyen edited this page Apr 18, 2017
·
3 revisions
Fragment can notify Activity through OnFragmentInteractionInterface interface. Activity can interact with Fragment using properties & methods of the Fragment class
Main points: Activity knows Fragment through its API (ie: its public properties & methods) Fragment does not know anything about Activity using it except OnFragementInteractionListener interface.