How to notify main activity after service is complete?
<p>I have a service that is retrieving URL's from a remote server for a MainActivity that i launch at the beginning of the project.</p>

<p>The problem is, i need these URL's before the Activity its ran.</p>

<p>The service is launched when the activity is started for the first time.</p>

<p>I put the URL's in the sharedpreference once they are retrieved.</p>

<p>But by the time this happens the activity has already loaded the default images.
I am using an Adapter to LazyLoad the images.</p>

<p>How can i notify the activity to refresh it self or refresh the BaseAdapter i am using to download the images once the service is finished?</p>

<p>Any better idea's are welcomed!</p>
