Lokik Soni

01/21/2022, 4:59 PM
I am new to Android Clean Architecture and trying to implement it in my project but all I learnt doesn't match to my case. What I learnt is data layer consist app data related stuf like network api data, local room db data. But data for my app is 1. Broadcast receiver to get battery data. 2. RingtoneManager to get list of system ringtone. 3. Shared preference. So here I am confuse in which layer should I put all these stuff like if I put broadcast receiver in data layer then how to register it with activity. And can I put RingtoneManager and shared pref in data layer.

Tim Oltjenbruns

01/24/2022, 4:38 PM
@Lokik Soni happy to share what we have done for our apps. It’s a lot less about one big pattern, and a lot more about applying the principles. So I do not see many Clean Architecture apps that look the same, unless they are by the same team solving the same problems.