You hear a lot of people talking about repositories and datasources when talking about design patterns like MVVM or MVI. I've been creating repositories for things like Retrofit and API calls, and datasources for things like Firebase or other libraries. But I'm not 100% sure I understand the difference between a datasource and a repository in the Android world.
Can someone enlighten me please?
Thanks in advance.
