I'm assuming here that you're using a ViewPager. The reason setOffsetPageLimit(0)
doesn't work is because 1 is the minimum value here.
You should create a callback that your Activity (or a class which can access both Fragments) implements, which the second Fragment can tell to update. You can then do logic in that callback to update your first Fragment.
I'd advise not doing the update in onCreateView()
as you've mentioned because then it ties updates to the Fragment lifecycle - which is tricky to control.