Hi there! In most Android sample projects influenc...
# android-architecture
Hi there! In most Android sample projects influenced by Robert Martin's clean architecture we have these fetch-something usecase-scenarios in domain layer. But suppose one has this logic: do some background task every minute, everytime you have a result, show a notification. It certainly gets more complicated. If we are to define this logic in domain layer, how would we do that? Or is it a presentation logic (this thing with notification) that we have here (so domain layer doesn't care)? Thanks in advance for your advise.
You should define the logic that's not related to Ui, this happens in Domain layer, and the notification ui and observing Ui interaction happens in Presentation layer
@Mohamed Ibrahim, thanks for your feedback
­čĹŹ 1