Skip to content

Commit 3f37176

Browse files
updated some libs usages.
1 parent c0c850c commit 3f37176

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

app/app.iml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@
1212
<option name="SELECTED_TEST_ARTIFACT" value="_android_test_" />
1313
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
1414
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
15-
<option name="SOURCE_GEN_TASK_NAME" value="generateDebugSources" />
1615
<option name="ASSEMBLE_TEST_TASK_NAME" value="assembleDebugAndroidTest" />
1716
<option name="COMPILE_JAVA_TEST_TASK_NAME" value="compileDebugAndroidTestSources" />
18-
<option name="TEST_SOURCE_GEN_TASK_NAME" value="generateDebugAndroidTestSources" />
17+
<afterSyncTasks>
18+
<task>generateDebugAndroidTestSources</task>
19+
<task>generateDebugSources</task>
20+
</afterSyncTasks>
1921
<option name="ALLOW_USER_CONFIGURATION" value="false" />
2022
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" />
2123
<option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
@@ -24,7 +26,7 @@
2426
</configuration>
2527
</facet>
2628
</component>
27-
<component name="NewModuleRootManager" inherit-compiler-output="false">
29+
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false">
2830
<output url="file://$MODULE_DIR$/build/intermediates/classes/debug" />
2931
<output-test url="file://$MODULE_DIR$/build/intermediates/classes/androidTest/debug" />
3032
<exclude-output />
@@ -69,9 +71,9 @@
6971
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dependency-cache" />
7072
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dex" />
7173
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dex-cache" />
72-
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.1.1/jars" />
73-
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/recyclerview-v7/21.0.3/jars" />
74-
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-v4/22.1.1/jars" />
74+
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.0/jars" />
75+
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/recyclerview-v7/22.2.0/jars" />
76+
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-v4/22.2.0/jars" />
7577
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" />
7678
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/jacoco" />
7779
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/javaResources" />
@@ -89,9 +91,9 @@
8991
</content>
9092
<orderEntry type="jdk" jdkName="Android API 22 Platform" jdkType="Android SDK" />
9193
<orderEntry type="sourceFolder" forTests="false" />
92-
<orderEntry type="library" exported="" name="recyclerview-v7-21.0.3" level="project" />
93-
<orderEntry type="library" exported="" name="support-annotations-22.1.1" level="project" />
94-
<orderEntry type="library" exported="" name="support-v4-22.1.1" level="project" />
95-
<orderEntry type="library" exported="" name="appcompat-v7-22.1.1" level="project" />
94+
<orderEntry type="library" exported="" name="recyclerview-v7-22.2.0" level="project" />
95+
<orderEntry type="library" exported="" name="support-annotations-22.2.0" level="project" />
96+
<orderEntry type="library" exported="" name="support-v4-22.2.0" level="project" />
97+
<orderEntry type="library" exported="" name="appcompat-v7-22.2.0" level="project" />
9698
</component>
9799
</module>

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ android {
2121

2222
dependencies {
2323
compile fileTree(dir: 'libs', include: ['*.jar'])
24-
compile 'com.android.support:recyclerview-v7:21.0.3'
25-
compile 'com.android.support:appcompat-v7:22.1.1'
24+
compile 'com.android.support:recyclerview-v7:22.2.0'
25+
compile 'com.android.support:appcompat-v7:22.2.0'
2626
}

app/src/main/java/com/lb/lollipop_contacts_recyclerview_fast_scroller/FastScroller.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import android.support.v7.widget.LinearLayoutManager;
1010
import android.support.v7.widget.RecyclerView;
1111
import android.util.AttributeSet;
12-
import android.util.Log;
1312
import android.view.LayoutInflater;
1413
import android.view.MotionEvent;
1514
import android.view.View;
@@ -115,7 +114,6 @@ else if(handle.getY()+handle.getHeight()>=height-TRACK_SNAP_RANGE)
115114
else
116115
proportion=y/(float)height;
117116
int targetPos=getValueInRange(0,itemCount-1,(int)(proportion*(float)itemCount));
118-
Log.d("AppLog","targetPos:"+targetPos);
119117
((LinearLayoutManager)recyclerView.getLayoutManager()).scrollToPositionWithOffset(targetPos,0);
120118
// recyclerView.oPositionWithOffset(targetPos);
121119
String bubbleText=((BubbleTextGetter)recyclerView.getAdapter()).getTextToShowInBubble(targetPos);

0 commit comments

Comments
 (0)