Skip to content

Commit 4028afe

Browse files
Merge pull request #157 from Omega-R/develop
Develop
2 parents 37a4377 + 749e238 commit 4028afe

File tree

139 files changed

+1923
-306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+1923
-306
lines changed

.idea/codeStyles/Project.xml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.idea/codeStyles/codeStyleConfig.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 28
4+
compileSdkVersion rootProject.compileSdkVersion
55
buildToolsVersion rootProject.buildToolsVersion
66
defaultConfig {
77
applicationId "com.omega_r.omegarecyclerview"
8-
minSdkVersion 16
9-
targetSdkVersion 28
8+
minSdkVersion rootProject.minSdkVersion
9+
targetSdkVersion rootProject.targetSdkVersion
1010
versionCode 1
1111
versionName "1.0"
1212
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -21,17 +21,19 @@ android {
2121
}
2222

2323
dependencies {
24-
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha3'
24+
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta4'
2525
implementation fileTree(dir: 'libs', include: ['*.jar'])
26-
implementation 'androidx.appcompat:appcompat:1.1.0-alpha01'
2726
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
28-
implementation 'com.google.android.material:material:1.1.0-alpha02'
27+
implementation 'androidx.appcompat:appcompat:' + rootProject.appcompatVersion
28+
implementation 'com.google.android.material:material:' + rootProject.materialVersion
2929

3030
implementation 'com.github.Omega-R.OmegaIntentBuilder:core:' + rootProject.omegaIntentBuilder
3131
implementation 'com.github.Omega-R.OmegaIntentBuilder:annotations:' + rootProject.omegaIntentBuilder
3232
annotationProcessor 'com.github.Omega-R.OmegaIntentBuilder:processor:' + rootProject.omegaIntentBuilder
3333

34-
api project(':omegarecyclerviewlibs')
34+
implementation project(':omegarecyclerview')
35+
implementation project(':omegarecyclerview_fastscroll')
36+
implementation project(':omegarecyclerview_expandable')
3537

3638
androidTestImplementation('com.android.support.test.espresso:espresso-core:' + rootProject.espressoVersion, {
3739
exclude group: 'com.android.support', module: 'support-annotations'

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<application
66
android:allowBackup="true"
77
android:icon="@mipmap/ic_launcher"
8-
android:label="@string/app_name_omega"
8+
android:label="@string/app_name"
99
android:roundIcon="@mipmap/ic_launcher_round"
1010
android:supportsRtl="true"
1111
android:theme="@style/Theme.AppCompat.Light">
@@ -25,7 +25,7 @@
2525
<activity android:name=".expandable_example.core.ExpandableActivity" />
2626
<activity android:name=".expandable_example.support_sticky.DefaultStickyExpandableActivity" />
2727
<activity android:name=".expandable_example.ChooseExpandableActivity" />
28-
<activity android:name=".expandable_example.sticky_groups.StickyGroupsActivity"></activity>
28+
<activity android:name=".fastscroll_example.FastScrollActivity"/>
2929
</application>
3030

3131
</manifest>

app/src/main/java/com/omega_r/omegarecyclerview/MainActivity.java

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
import android.view.View;
66

77
import com.omega_r.libs.omegaintentbuilder.AppOmegaIntentBuilder;
8+
import com.omega_r.libs.omegaintentbuilder.OmegaIntentBuilder;
9+
import com.omega_r.omegarecyclerview.fastscroll_example.FastScrollActivity;
810

911
public class MainActivity extends AppCompatActivity implements View.OnClickListener {
1012

@@ -20,6 +22,7 @@ protected void onCreate(Bundle savedInstanceState) {
2022
findViewById(R.id.button_viewpager).setOnClickListener(this);
2123
findViewById(R.id.button_list_adapter).setOnClickListener(this);
2224
findViewById(R.id.button_expandable_recyclerview).setOnClickListener(this);
25+
findViewById(R.id.button_fastscroll).setOnClickListener(this);
2326
}
2427

2528
/**
@@ -34,49 +37,47 @@ public void onClick(View view) {
3437
AppOmegaIntentBuilder.from(this)
3538
.appActivities()
3639
.swipeMenuActivity()
37-
.createIntentHandler()
3840
.startActivity();
3941
break;
4042
case R.id.button_sticky_header:
4143
AppOmegaIntentBuilder.from(this)
4244
.appActivities()
4345
.stickyHeaderActivity()
44-
.createIntentHandler()
4546
.startActivity();
4647
break;
4748
case R.id.button_pagination:
4849
AppOmegaIntentBuilder.from(this)
4950
.appActivities()
5051
.paginationActivity()
51-
.createIntentHandler()
5252
.startActivity();
5353
break;
5454
case R.id.button_sections:
5555
AppOmegaIntentBuilder.from(this)
5656
.appActivities()
5757
.sectionsActivity()
58-
.createIntentHandler()
5958
.startActivity();
6059
break;
6160
case R.id.button_viewpager:
6261
AppOmegaIntentBuilder.from(this)
6362
.appActivities()
6463
.viewPagerActivity()
65-
.createIntentHandler()
6664
.startActivity();
6765
break;
6866
case R.id.button_list_adapter:
6967
AppOmegaIntentBuilder.from(this)
7068
.appActivities()
7169
.listAdapterActivity()
72-
.createIntentHandler()
7370
.startActivity();
7471
break;
7572
case R.id.button_expandable_recyclerview:
7673
AppOmegaIntentBuilder.from(this)
7774
.appActivities()
7875
.chooseExpandableActivity()
79-
.createIntentHandler()
76+
.startActivity();
77+
break;
78+
case R.id.button_fastscroll:
79+
OmegaIntentBuilder.from(this)
80+
.activity(FastScrollActivity.class)
8081
.startActivity();
8182
break;
8283
}

app/src/main/java/com/omega_r/omegarecyclerview/expandable_example/core/ExpandableActivity.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
import android.widget.CompoundButton;
1010
import android.widget.RadioButton;
1111

12-
import com.omega_r.libs.omegarecyclerview.expandable_recycler_view.OmegaExpandableRecyclerView;
13-
import com.omega_r.libs.omegarecyclerview.expandable_recycler_view.animation.ExpandableItemAnimator;
14-
import com.omega_r.libs.omegarecyclerview.expandable_recycler_view.animation.standard_animations.DropDownItemAnimator;
15-
import com.omega_r.libs.omegarecyclerview.expandable_recycler_view.animation.standard_animations.FadeItemAnimator;
16-
import com.omega_r.libs.omegarecyclerview.expandable_recycler_view.data.GroupProvider;
12+
import com.omega_r.libs.omegarecyclerview_expandable.OmegaExpandableRecyclerView;
13+
import com.omega_r.libs.omegarecyclerview_expandable.animation.ExpandableItemAnimator;
14+
import com.omega_r.libs.omegarecyclerview_expandable.animation.standard_animations.DropDownItemAnimator;
15+
import com.omega_r.libs.omegarecyclerview_expandable.animation.standard_animations.FadeItemAnimator;
16+
import com.omega_r.libs.omegarecyclerview_expandable.data.GroupProvider;
1717
import com.omega_r.omegarecyclerview.R;
1818

1919
import java.util.Arrays;

app/src/main/java/com/omega_r/omegarecyclerview/expandable_example/core/ExpandableAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import android.view.ViewGroup;
55
import android.widget.TextView;
66

7-
import com.omega_r.libs.omegarecyclerview.expandable_recycler_view.OmegaExpandableRecyclerView;
7+
import com.omega_r.libs.omegarecyclerview_expandable.OmegaExpandableRecyclerView;
88
import com.omega_r.omegarecyclerview.R;
99

1010
public class ExpandableAdapter extends OmegaExpandableRecyclerView.Adapter<QuoteGlobalInfo, Quote> {

app/src/main/java/com/omega_r/omegarecyclerview/expandable_example/core/SimpleData.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
import androidx.annotation.Nullable;
44

5-
import com.omega_r.libs.omegarecyclerview.expandable_recycler_view.data.GroupProvider;
5+
6+
import com.omega_r.libs.omegarecyclerview_expandable.data.GroupProvider;
67

78
import java.util.Arrays;
89
import java.util.List;

0 commit comments

Comments
 (0)