Bram Yeh
1 min readSep 25, 2018

--

Yes, you are right.

My last paragraph has

Because we need to access the package-private variable, mNestedScrollingChildRef, we have to put ViewPagerBottomSheetBehavior inside package android.support.design.widget. That why I call the solution funny.

And this is the most trick way, I defined a class into the same package to access the package-private methods and parameters.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Bram Yeh
Bram Yeh

Written by Bram Yeh

Lead Android & iOS Mobile Engineer at Yahoo (Verizon Media) Taiwan https://www.linkedin.com/in/hanruyeh/

Responses (1)

Write a response