Bright Devs Blog

Playing with Material Design, Toolbar and Palette

Playing with Material Design, Toolbar and Palette

android materialdesign android-support-library

People around the world are waiting for Google to push Lollipop to theirs smartphones. Material Design completely changed the appearance of Android, and did it right. Material Design is really beautiful. But who says we have to wait to see Material.Theme in action? Most of features has been packed into android-support-library. Use it and build app with material for pre-lollipop devices.

Playing with Material Design, Toolbar and Palette
InjectionForXcode meets command line

InjectionForXcode meets command line

ios appcode xcode injectionforxcode gem

Meet Injection Helper, a small utility for making InjectionForXcode more friendly to use. Get rid of superfluous messages and a flood of XCode windows opened any time you patch/revert your project.

InjectionForXcode meets command line
Attaching ShareJS to select HTML element

Attaching ShareJS to select HTML element

sharejs javascript

One thing that I found missing in ShareJS library was the possibility to attach live concurrent editing to HTML <select> element. Out of the box it works only with text fields - <input> and <textarea>. Here is the workaround.

Attaching ShareJS to select HTML element
ListViewWithSectionsAdapter for Android ListView, simple way to implement list view with sections.

ListViewWithSectionsAdapter for Android ListView, simple way to implement list view with sections.

android

ListViewWithSectionsAdapter for Android ListView, simple way to implement list view with sections.

ListViewWithSectionsAdapter for Android ListView, simple way to implement list view with sections.
Introducing slf4android - a simple slf4j implementation for android

Introducing slf4android - a simple slf4j implementation for android

android

Every now and then you have a bug that is hard to reproduce or only happens on certain phones or android versions. The thing that really comes handy in such case is a detailed application log. That’s why it’s so important to take time to add useful log entries in every non trivial part of the codebase. At the very minimum you’ll want to log any errors.

Introducing slf4android - a simple slf4j implementation for android
ShareJS 0.7.3 working example

ShareJS 0.7.3 working example

sharejs nodejs javascript

I’m experimenting with ShareJS library, which is intended to allow live concurrent editing like in Google Docs. The demo on their website seems incredibly easy, even though later on the page they are so cruel: “ShareJS is mostly working, but it’s still a bit shit.”. I wouldn’t be so harsh as I was able to have it up and running in less than few hours. But the fact is it wasn’t as easy as it seemed.

ShareJS 0.7.3 working example