As long as you define an interface in a fragment, you can implement parent activity or parent fragment. There is no rule that a fragment should not implement the interface of a child fragment. One example, when that makes sense, is that fragment A has two children. Fragments B, C. A implements interface B, when A receives a callback, it may need to update fragment C. Exactly the same with activity, only at a different level.
source share