shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
11/13/13 02:53 PM (10 years ago)

Scringo like and comment button

I'm using Scringo's like/comment button. It's working, but this custom plugin allows user to upload photos. It should update the buttons with the updated image URL, but the previous comments and # of likes is still showing with the new image. Would anyone be willing to take a look at my code to see what I'm missing? http://docs.scringo.com/android-guides/extras/like-button/
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
11/14/13 10:24 AM (10 years ago)
Hi, I'm helping her with this, but anyone who knows how to do this is encouraged to get in touch to help out. Thank you! David https://buzztouchmods.com/market
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
11/14/13 12:36 PM (10 years ago)
Guy from Scringo says: "The way it works is that the buttons (both of them) are linked to the image URL (you can see in the code that it is the first argument passed to their update method). If you make sure to update the buttons with the updated image URL I don't see why it won't work. - OR- You can also remove those buttons and create them again when the image changes." ..but I'm not sure what he means by "make sure to update the buttons with the updated image URL" or how to correctly remove buttons and create them again.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
11/14/13 01:50 PM (10 years ago)
I'm still looking at this. He gave good information. i think you need to release them or reset them, or make them load up every time a new image loads rather then having it load globally (like from app delegate) David https://buzztouchmods.com/market
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.