Monthly Archives: September 2013

[Android] Nice lib to create intuitive demo/instruction message on first app start up

https://github.com/Espiandev/ShowcaseView

Found from this thread on Stackoverflow
http://stackoverflow.com/questions/12013334/how-do-you-create-a-transparent-demo-screen-for-an-android-app

Advertisements

[JUnit] assertEqual vs assertSame

Found a good explanation on Stackoverflow about this 

http://stackoverflow.com/questions/2882337/junit-assertsame

Actually this is for assertSame, but we can differentiate assertEqual from this easily.

So, for short words, assertSame works on reference objects and assertEqual for equality of values between objects.