CHunky Universe of Vigourous Astonishing SHarepoint :)

Tag Archives: Refactoring

Version 0.3.0: Move to SD card feature

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.

Version 0.1.7: Refactoring of OverlayMediator

OverlayController is actually more Mediator. It keeps track of current OverlayItem and triggers toggling of marker highlighting. In order to provide clear code the name has been changed to OverlayMediator. The singleton variable now is called singleton. And static method getOverlayController is now getInstance().

Commit details on Github:

Version 0.1.7 + Added OverlayMediator

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...