I have seven fragments implemented through fragmentpageradapter.
I can call second fragment from first fragment sucessfully , but when calling third or fourth fragment from first fragment , i get NullPointerExcpetion when using that fragments functions.
I can only consecutive fragments , and not other fragments .
The thing is you can’t. Pager Adapter loads only 3 fragments at one time – the rest isn’t waiting for you in the memory.
So you must store your changes and apply them as you change the current fragment later.