Actually, I created an application that scrolls through the cards. A bunch of methods work fine and half of the logic is tied to the MainActivity. But here I am asked to make a library of this miracle. To use in another application. How can this be organized? How do I convert an app to the library? But how to use it if I have a lot described in MainActivity? Does it have to be redone? Redo how?
Activityin the new classes. Isn't it obvious? - Vladyslav Matviienko