I have searched several hours over the past few days for the complete source code of Android's design support library. I have found source code mirrored from the official Google repository:
https://github.com/android/platform_frameworks_support/tree/master/design
However, I have yet to find the source code for android.support.design.widget.NavigationView. The jar file for the library contains a NavigationView.class, but has no source attached.
How should I find the source of this class? Is the code possibly not released to the public?
If you download the Android 6.0 source code from your SDK Manager, you will find the source for NavigationView
in:
$ANDROID_SDK/sources/android-23/android/support/design/widget
where $ANDROID_SDK
is wherever you have installed the Android SDK.
My guess is that this matches the 23.0.0 version of the Design Support library. I do not know if patches (e.g., 23.0.1) will have their source show up here or not. And, for all I know, what is here in the source code is older than 23.0.0. Google's packaging of source code for the support libraries could use some love.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With