Hi, today I was working on MultiSelectListPreference in PreferenceFragment screen. I was going to have multi select list where user would be able select items. Each selected item would be describing specific shortcut from my app to OP desktop.
After about half an hour I found out how to restore MultiSelectListPreference with all default items.
Continue reading “Clearing items in MultiSelectListPreference – solution”
During my graduation work I had to use navigation drawer for menu list. What is more, I also needed pull to refresh layout. Both items are very sensitive and its order matters where to put them. You might be in situation where you think which one should be in which one. So during rebuilding layout with that two items first I moved pull to refresh layout up, to be a root layout. This showed me unpredictable result.
I was able swipe down to refresh even when I had already opened drawer…
Continue reading “Android NavigationDrawer not handling setOnItemClickListener- nothing happens – solution”
I have been working for my graduation work on layout `pull to refresh`, called now.. SwipeRefreshLayout. It was connected with NavigationDrawerFragment.
During tests over that two things I discovered I was not able to scroll down my list without calling refresh. I found very interesting solution on stackoverflow. Answer was posted by @Cabezas. Thank You!
Continue reading “Pull to refresh in project, disabling refresh when we want to scroll down”
Here is the simple sample code which converts pretty nice for example polish currencies to float and from float to polish format.
These are the spoiler results:
DecimalUtil.getInstance().parse("1 123,44) -> 1123.44
DecimalUtil.getInstance().format(1123.44) -> 1 123,44
Continue reading “Pretty nice decimal format for polish currencies”
My graduation work is a project called Państwa Miasta as a big base with words for specific categories.
Name Państwa Miasta is from the paper game, very popular in many youth. One player says one letter from alphabet. In example L and the rest of the playing players (having on their papers columns with names: cities, countries, flowers, cars..) is trying get one word per column starting with that letter.
My project is about android app where user will be able preview big list of categories. When he enters in any of them, he will see from A to Z words connected with that category.
I decided to make this project because I have created first version of panstwa miasta app before. It wasn’t so flexible to manage it from other place like php/server.
Continue reading “Graduation Work – Project Państwa Miasta 206 days left”