extract loaderlayout from basefragment