implemented successful api calls and added detailactivity class and layout/fragment