I got a working Android APP with Retrofit implemented. The app calling API from the site and show text in the activity. It was made for horoscope astrology site so it shows Daily Horoscopes for 5 days ahead. See attached img.
I want to clone that activity to use several other API URLs from the site or reorganize the activity to show different horoscope types. No matter what we choose, the APP has to show not only Daily but also Weekly, Monthly, Yearly, Love, Characteristic Horoscopes and YouTube video list. (to be clear every content is loaded via API)
As you may see we have 2 options:
1 make some kind of way to use not only one API URL with Retrofit, so it would be easy to clone the activity for another Horoscope type
2 correct existing activity to make it work with different API URLs, so it would be easy to add additional URL to the activity for another Horoscope type (i think it is preferable)
December 24, 2017
I am looking for a mix of experience and value