6

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?

2 Answers 2

7

Yes, it's open source, and http://source.android.com/ has all the information on how to download and browse the source.

Sign up to request clarification or add additional context in comments.

Comments

6

This is what you want: ListView source code.

1 Comment

The smoothscroll code is actually inherited from AbsListView (android.git.kernel.org/?p=platform/frameworks/…)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.