- edited description
Newsfeed not loading ads
Issue #30
invalid
It's receiving the ads from the backend, but they are not being displayed in the listview.
[{"id":"Uxk_ukxBSqmGBS625ICpYg","created_at":"2014-10-31T23:54:16.546+00:00","expiration_date":"2014-12-12T00:00:00.000+00:00","title":"15% off Jazz Band! 15% Off Cover Before 11:00 pm","description":"18+ blah blah blah","price":"NaN","flyer_url":"https://res.cloudinary.com/baibai/image/upload/v1414799656/smwxdyvwvubbzcslgmmp.jpg","likes":0,"location":{"lat":37.1956467,"lon":-121.7480867},"business":{"id":2,"logo_url":"/business.png","name":"Pure Night Club","description":"21+ Night Club in the Bay Area. ","user_id":9,"latitude":37.1956467,"longitude":-121.7480867,"rating":5.0,"created_at":"2014-10-25T18:46:23.532Z","updated_at":"2014-11-02T04:12:31.380Z","business_category":"club","address":"555 Bailey Ave. San Jose, CA 95141","logo":{"url":"/business.png"}},"liked":false},{"id":"1Egjm3e5T8qJh5t0fOwR8Q","created_at":"2014-10-31T21:38:08.048+00:00","expiration_date":"2014-11-20T00:00:00.000+00:00","title":"$250.00 off Santa Cruz Trip Package - 2 Nights!","description":"18+","price":250.0,"flyer_url":"https://res.cloudinary.com/baibai/image/upload/v1414791488/tmonjohub3oi4ogc4tnk.jpg","likes":0,"location":{"lat":37.1956467,"lon":-121.7480867},"business":{"id":2,"logo_url":"/business.png","name":"Pure Night Club","description":"21+ Night Club in the Bay Area. ","user_id":9,"latitude":37.1956467,"longitude":-121.7480867,"rating":5.0,"created_at":"2014-10-25T18:46:23.532Z","updated_at":"2014-11-02T04:12:31.380Z","business_category":"club","address":"555 Bailey Ave. San Jose, CA 95141","logo":{"url":"/business.png"}},"liked":false},{"id":"tKguqgg0QmiVgn46qb6Y9w","created_at":"2014-10-25T23:16:27.087+00:00","expiration_date":"2014-11-11T00:00:00.000+00:00","title":"$20.00 off Girls Nightout!","description":"Free all night for Ladies ONLY. 20.00 for fellows.","price":0.0,"flyer_url":"https://res.cloudinary.com/baibai/image/upload/v1414278987/pmkcfdwsf4hljvu9usc1.jpg","likes":0,"location":{"lat":37.1956467,"lon":-121.7480867},"business":{"id":2,"logo_url":"/business.png","name":"Pure Night Club","description":"21+ Night Club in the Bay Area. ","user_id":9,"latitude":37.1956467,"longitude":-121.7480867,"rating":5.0,"created_at":"2014-10-25T18:46:23.532Z","updated_at":"2014-11-02T04:12:31.380Z","business_category":"club","address":"555 Bailey Ave. San Jose, CA 95141","logo":{"url":"/business.png"}},"liked":false}]
I'll do an investigation into this, as I want to become more acquainted with the newsfeed code.
Comments (3)
-
reporter -
reporter The ads are being loaded from the server, but never actually connected through the adapter to the listview.
By the way, what is the
NewAdvertisementsActivity
? -
reporter - changed status to invalid
Invalidated by new news feed code.
- Log in to comment