Gloading icon indicating copy to clipboard operation
Gloading copied to clipboard

How to use Gloading for Fragment on databinding project

Open suxoyo opened this issue 6 years ago • 0 comments

@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.

suxoyo avatar May 28 '19 11:05 suxoyo