title: Uncle Bob's clean architecture approach - what is recommended package structure?
body: <p>I'd like to know if I'm using <a href="https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html" rel="nofollow noreferrer">Clean Architecture</a> the right way. I am trying to lay it like this diagram:</p>
  <p><a href="https://i.stack.imgur.com/cw4k4.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cw4k4.jpg" alt="enter image description here" /></a></p>
  <p>I've read that the package structure should be arranged by use case but I'm having difficulty following how that would be done.</p>
  <p>Let's take a look at my package structure:</p>
  <p><a href="https://i.stack.imgur.com/V45XF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/V45XF.png" alt="enter image description here" /></a>
  notice I don't know where to really put the activities in the UI folder, could you recommend ? does it matter?</p>
  <p>In the data folder, I have my repositories I use for <a href="https://medium.com/@krzychukosobudzki/repository-design-pattern-bc490b256006" rel="nofollow noreferrer">repository design pattern.</a>
  my retrofit network calls are on the same level as the UI folder. likewise for my dependency injection framework.</p>
  <p>My concern comes after reading <a href="https://android.jlelse.eu/thoughts-on-clean-architecture-b8449d9d02df" rel="nofollow noreferrer">this publication</a> I am now wondering if I did the package structure correctly?</p>