• R/O
  • HTTP
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

development


Commit MetaInfo

修訂1de571fdd3e56aa1912458f610882ee0f9cf138b (tree)
時間2011-06-16 16:49:22
作者Adam Powell <adamp@goog...>
CommiterAndroid Git Automerger

Log Message

am b0b4bcfc: DO NOT MERGE. Only impacts SDK. Integrate from master.

* commit 'b0b4bcfc3148693f26736ca191171380577d04ce':

DO NOT MERGE. Only impacts SDK. Integrate from master.

Change Summary

差異

--- a/samples/Support13Demos/src/com/example/android/supportv13/app/ActionBarTabsPager.java
+++ b/samples/Support13Demos/src/com/example/android/supportv13/app/ActionBarTabsPager.java
@@ -135,6 +135,10 @@ public class ActionBarTabsPager extends Activity {
135135 }
136136
137137 @Override
138+ public void onPageScrollStateChanged(int state) {
139+ }
140+
141+ @Override
138142 public void onTabSelected(Tab tab, FragmentTransaction ft) {
139143 Object tag = tab.getTag();
140144 for (int i=0; i<mTabs.size(); i++) {
--- a/samples/Support4Demos/src/com/example/android/supportv4/app/FragmentTabsPager.java
+++ b/samples/Support4Demos/src/com/example/android/supportv4/app/FragmentTabsPager.java
@@ -15,8 +15,6 @@
1515 */
1616 package com.example.android.supportv4.app;
1717
18-import java.util.ArrayList;
19-
2018 import com.example.android.supportv4.R;
2119
2220 import android.content.Context;
@@ -28,6 +26,8 @@ import android.support.v4.view.ViewPager;
2826 import android.view.View;
2927 import android.widget.TabHost;
3028
29+import java.util.ArrayList;
30+
3131 /**
3232 * Demonstrates combining a TabHost with a ViewPager to implement a tab UI
3333 * that switches between tabs and also allows the user to perform horizontal
@@ -161,5 +161,9 @@ public class FragmentTabsPager extends FragmentActivity {
161161 public void onPageSelected(int position) {
162162 mTabHost.setCurrentTab(position);
163163 }
164+
165+ @Override
166+ public void onPageScrollStateChanged(int state) {
167+ }
164168 }
165169 }