Code example for Fragment

Methods: getLoaderManager

0
        this.handler = new Handler(Looper.getMainLooper());
    } 
 
    public AuthenticationModuleAdapter(Fragment fragment, Context applicationContext, AuthenticationModule module, String name) {
        this.module = module;
        this.manager = fragment.getLoaderManager();
        this.applicationContext = applicationContext;
        this.activity = null;
        this.fragment = fragment;
        this.name = name;
        this.handler = new Handler(Looper.getMainLooper());
    } 
 
    @Override 
    public URL getBaseURL() {
        return module.getBaseURL();
    } 
 
    @Override 
    public String getLoginEndpoint() {
        return module.getLoginEndpoint();