Skip to content

How to use Gloading for Fragment on databinding project #21

Description

@suxoyo

@OverRide
public View onCreateView(LayoutInflater inflater, @nullable ViewGroup container, @nullable Bundle savedInstanceState) {
binding = DataBindingUtil.inflate(inflater, initContentView(inflater, container, savedInstanceState), container, false);
mLoadingHolder = Gloading.getDefault().wrap(binding.image).withRetry(new Runnable() {
@OverRide
public void run() {
onLoadRetry();
}
});
showLoading();
return binding.getRoot();
}

it doesn't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions