Twitter: It's time to open source your Android app
chuinard.com
chuinard.com
The author says: "And lastly, Twitter should release this app because they said they would.".
Well, here is the statement from Twitter:
"We had a great time working with the Android team and are thrilled that Google will be open sourcing the code used in this app in the near future."
Saying Google will open source the code used in this app is completely different from saying "we ourselves will open source this app". It almost certainly means that Google will open source some small component that is used in the app. IMO, it is a bit of a leap to interpret that statement as saying "Twitter will open source the app".
IMO, in the absence of a more complete statement from Twitter regarding open sourcing their app, it is dishonest of the blogger to say Twitter "has no interest in making good on their word" when it seems like the blogger is putting words in Twitter's mouth. If a more explicit statement exists from Twitter, then the blogger should have cited that, instead of the slightly-but-not-really-ambiguous statement from Twitter that he used.
http://stackoverflow.com/questions/4014426/twitter-android-a...
http://stackoverflow.com/questions/3413980/android-twitter-a...
Twitter has a solid collection of open source stuff on GitHub, i.e. the Twitter Bootstrap. Sure, maybe they don't have to release the ENTIRE app, but it would be ideal if they could contribute some of their work (such as the UI patterns) back to the community.
Maybe I'm missing something, but I really do not see that quote the same way the OP does.
"We had a great time working with the Android team and are thrilled that Google will be open sourcing the code used in this app in the near future."
To this:
"We had a great time working with the Android team and are thrilled that we will be open sourcing this app in the near future."
Then I would have been convinced.
A ListView with some layout_margin ? Am I missing something special ?
The list at the bottom is just a RelativeLayout, with some rounded corners. Wrap this in a ScrollView, and voila.
See http://developer.android.com/guide/topics/resources/drawable...
Usually it's in apps that are ported from iOS with minimal consideration for Android user interface expectations, because it's a much more standard design pattern there.
If you were angry enough to write a blog post, you could've also looked into decompiling the code and seeing how they do it yourself. If you use dex2jar:
http://code.google.com/p/dex2jar/
you can see that the view you're discussing is a custom ListView they made called RefreshableListView which actually does extend ListView so it is technically a ListView.
Open sourcing it would just help people to publish slightly different versions with little effort - which is what they say they don't want...
Pull to Refresh was invented by Loren Brichter, author of the Tweetie app for iPhone, and he filed a patent for it (http://gorumors.com/twitter-patent-drag-to-refresh/2754292). As the article states, the patent application was submitted the day before Tweetie was acquired by Twitter, so we don't know for sure if Loren or Twitter own it, but it sure isn't Apple.