CHunky Universe of Vigourous Astonishing SHarepoint :)

Version 0.1.8: Cleaning code

Cleaned OverlayMediator.

Moved strings to /res/values/strings.xml

Solved the bug with disappearing OverlayItems. The actual reason was the caching of OverlayMediator object. The instance variable “activity” was the old one, and the getOverlays from the activity’s lusitesMap were old. So it couldn’t work.

The solution is to force OverlayMediator to renew its instance variable LUSitesActivity activity each time the static method getInstance is called:

public static OverlayMediator getInstance(Context context) {
if (singleton == null) {
singleton = new OverlayMediator();
singleton.setActivity((LUSitesActivity) context);
return singleton;

I also have started to use selectors in order to change Markers automatically.

This version is not published on Market, but committed on Github.

One response to “Version 0.1.8: Cleaning code

  1. A Chuvash Guy 2011-01-29 at 15:06

    Selectors don’t work as they should. Multiple objects of ItemizedOverlay conflict with each other. Two or more OverlayItems can suddenly be focused. Not good. I will proceed with currentOI tracking and toggleHighlight.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Daniel Chronlund Cloud Tech Blog

News, tips and thoughts for Microsoft cloud fans

Вула Чăвашла

VulaCV - Чăвашла вулаттаракан сайт

Discovering SharePoint

And going crazy doing it

Bram de Jager - Architect, Speaker, Author

Microsoft 365, SharePoint and Azure

SharePoint Dragons

Nikander & Margriet on SharePoint

Mai Omar Desouki

PFE @ Microsoft

Cameron Dwyer

Office 365, SharePoint, Azure, OnePlace Solutions & Life's Other Little Wonders


Me and My doings!

Share SharePoint Points !

By Mohit Vashishtha

Jimmy Janlén "Den Scrummande Konsulten"

Erfarenheter, synpunkter och raljerande om Scrum från Jimmy Janlén

Aryan Nava

DevOps, Cloud and Blockchain Consultant


SharePoint for everyone


Ryan Dennis is a SharePoint Solution Architect with a passion for SharePoint and PowerShell

SharePoint 2020

The Vision for a Future of Clarity

Aharoni in Unicode

Treacle tarts for great justice

... And All That JS

JavaScript, Web Apps and SharePoint


Mostly what I know and share about...

%d bloggers like this: