This repository was archived by the owner on Sep 23, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
android/support/design/widget Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- package net . kdt . pojavlaunch . launcheruiv3 ;
17+ package android . support . design . widget ;
1818
1919import static android .support .annotation .RestrictTo .Scope .LIBRARY_GROUP ;
2020import static android .support .v4 .view .ViewPager .SCROLL_STATE_DRAGGING ;
@@ -2159,25 +2159,25 @@ void reset() {
21592159 * A {@link TabLayout.OnTabSelectedListener} class which contains the necessary calls back
21602160 * to the provided {@link ViewPager} so that the tab position is kept in sync.
21612161 */
2162- public static class ViewPagerOnTabSelectedListener implements TabLayout .OnTabSelectedListener {
2162+ public static class ViewPagerOnTabSelectedListener implements VerticalTabLayout .OnTabSelectedListener {
21632163 private final ViewPager mViewPager ;
21642164
21652165 public ViewPagerOnTabSelectedListener (ViewPager viewPager ) {
21662166 mViewPager = viewPager ;
21672167 }
21682168
21692169 @ Override
2170- public void onTabSelected (TabLayout .Tab tab ) {
2170+ public void onTabSelected (VerticalTabLayout .Tab tab ) {
21712171 mViewPager .setCurrentItem (tab .getPosition ());
21722172 }
21732173
21742174 @ Override
2175- public void onTabUnselected (TabLayout .Tab tab ) {
2175+ public void onTabUnselected (VerticalTabLayout .Tab tab ) {
21762176 // No-op
21772177 }
21782178
21792179 @ Override
2180- public void onTabReselected (TabLayout .Tab tab ) {
2180+ public void onTabReselected (VerticalTabLayout .Tab tab ) {
21812181 // No-op
21822182 }
21832183 }
Original file line number Diff line number Diff line change 44import android .content .*;
55import android .graphics .*;
66import android .os .*;
7+ import android .support .design .widget .*;
78import android .support .v4 .app .*;
89import android .support .v7 .app .*;
910import android .text .*;
You can’t perform that action at this time.
0 commit comments