问题
Are the Android APIs open source? If so, I want to see how they implemented the smoothscroll method for the ListView object (this is implemented in API level 8, but I want to build against an earlier API level). How would I go about finding this?
回答1:
This is what you want: ListView source code.
回答2:
Yes, it's open source, and http://source.android.com/ has all the information on how to download and browse the source.
来源:https://stackoverflow.com/questions/3673468/finding-android-source-code