android - How to add an item to a scrollview from another activity? -


i want add item scrollview present in different activity second activity. have button in second activity , when button clicked want add item scrollview present in different activity. scrollview row consists of 2 textviews , button. problem each button in scrollview used different url. how can add these urls these buttons @ runtime. can suggest work around this? thank you.

the scrollview activity created after click additem button few times. save "added data" class both activities can access. when scrollview activity launches, load current data. if you're keeping scrollview open in background, onresume still called, , can load current data there.


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -