LoadSir icon indicating copy to clipboard operation
LoadSir copied to clipboard

handle DefaultCallback() like addCallback()

Open Rainer-Lang opened this issue 8 years ago • 3 comments

WIP - DO NOT MERGE

Rainer-Lang avatar Oct 14 '17 09:10 Rainer-Lang

WIP - we have to do here much more not working: loadService.showCallback(loadingCallback); TODO: don't use Class better use Callback - workaround: We could use getClass()

Rainer-Lang avatar Oct 14 '17 10:10 Rainer-Lang

@Rainer-Lang Why you want do like this loadService.showCallback(loadingCallback); , if you config LoadSir in Application, then how to get the object of Callback when you want to call showCallback(obj) in Activity of Fragmetn? new Callback? Could you tell me the reason.

KingJA avatar Oct 15 '17 03:10 KingJA

I answered you in Telegram. I think there could be something to discuss more in detail.

BTW: This PR shouldn't be merged.

Rainer-Lang avatar Oct 15 '17 08:10 Rainer-Lang