Skip to content

Commit 815a32d

Browse files
author
Ingo Schwarz
committed
Merge branch 'develop'
Conflicts: build.gradle
2 parents f2c8d16 + b843745 commit 815a32d

File tree

7 files changed

+66
-14
lines changed

7 files changed

+66
-14
lines changed

.build.gradle.un~

8.39 KB
Binary file not shown.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ An Android library providing a TableView and a SortableTableView.
44

55
![SortableTableView Example](https://raw.githubusercontent.com/ISchwarz23/SortableTableView/develop/README/SortableTableView-Example.gif)
66

7-
**Minimum SDK-Version:** 11 | **Compile SDK-Version:** 23 | **Latest Library Version:** 2.0.0
7+
**Minimum SDK-Version:** 11 | **Compile SDK-Version:** 23 | **Latest Library Version:** 2.0.1
88

99
## Repository Content
1010
**tableview** - contains the android library sources and resources
@@ -17,7 +17,7 @@ To use the this library in your project simply add the following dependency to y
1717
```
1818
dependencies {
1919
...
20-
compile 'de.codecrafters.tableview:tableview:2.0.0'
20+
compile 'de.codecrafters.tableview:tableview:2.0.1'
2121
...
2222
}
2323
```

app/src/main/java/de/codecrafters/tableviewexample/MainActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ protected void onCreate(final Bundle savedInstanceState) {
2525
setSupportActionBar(toolbar);
2626
}
2727

28-
final SortableCarTableView carTableView = (SortableCarTableView) findViewById(R.id.tableView);
28+
final SortableCarTableView carTableView = (SortableCarTableView) findViewById(R.id.tableView1);
2929
carTableView.setDataAdapter(new CarTableDataAdapter(this, createAndGiveCarList()));
3030
carTableView.addDataClickListener(new CarClickListener());
3131
}
+40-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2-
xmlns:tools="http://schemas.android.com/tools"
32
xmlns:custom="http://schemas.android.com/apk/res-auto"
3+
xmlns:tools="http://schemas.android.com/tools"
44
android:layout_width="match_parent"
55
android:layout_height="match_parent"
66
tools:context="de.codecrafters.tableviewexample.MainActivity">
@@ -10,16 +10,47 @@
1010
android:layout_width="match_parent"
1111
android:layout_height="wrap_content"
1212
android:background="@color/primary"
13-
custom:title="@string/title_activity_main"
14-
custom:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />
13+
custom:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
14+
custom:title="@string/title_activity_main"/>
1515

16-
<de.codecrafters.tableviewexample.SortableCarTableView
17-
android:id="@+id/tableView"
16+
<ScrollView
1817
android:layout_width="match_parent"
1918
android:layout_height="match_parent"
20-
android:layout_below="@id/toolbar"
21-
custom:tableView_columnCount="4"
22-
custom:tableView_headerElevation="10"
23-
custom:tableView_headerColor="@color/primary" />
19+
android:layout_below="@id/toolbar">
20+
21+
<LinearLayout
22+
android:layout_width="match_parent"
23+
android:layout_height="wrap_content"
24+
android:orientation="vertical">
25+
26+
<de.codecrafters.tableviewexample.SortableCarTableView
27+
android:id="@+id/tableView1"
28+
android:layout_width="match_parent"
29+
android:layout_height="250dp"
30+
custom:tableView_columnCount="4"
31+
custom:tableView_headerColor="@color/primary"
32+
custom:tableView_headerElevation="10"/>
33+
34+
<de.codecrafters.tableviewexample.SortableCarTableView
35+
android:id="@+id/tableView2"
36+
android:layout_width="match_parent"
37+
android:layout_height="250dp"
38+
custom:tableView_columnCount="4"
39+
custom:tableView_headerColor="@color/primary"
40+
custom:tableView_headerElevation="10"/>
41+
42+
<de.codecrafters.tableviewexample.SortableCarTableView
43+
android:id="@+id/tableView3"
44+
android:layout_width="match_parent"
45+
android:layout_height="250dp"
46+
custom:tableView_columnCount="4"
47+
custom:tableView_headerColor="@color/primary"
48+
custom:tableView_headerElevation="10"/>
49+
50+
</LinearLayout>
51+
52+
</ScrollView>
2453

2554
</RelativeLayout>
55+
56+

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ buildscript {
44
jcenter()
55
}
66
dependencies {
7-
classpath 'com.android.tools.build:gradle:2.0.0'
7+
classpath 'com.android.tools.build:gradle:2.1.0'
88
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
99
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
1010
}

build.gradle~

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2+
buildscript {
3+
repositories {
4+
jcenter()
5+
}
6+
dependencies {
7+
<<<<<<< HEAD
8+
classpath 'com.android.tools.build:gradle:2.0.0'
9+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
10+
=======
11+
classpath 'com.android.tools.build:gradle:2.1.0'
12+
>>>>>>> develop
13+
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
14+
}
15+
}
16+
17+
allprojects {
18+
repositories {
19+
jcenter()
20+
}
21+
}

tableview/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apply plugin: 'com.android.library'
22

3-
def final tableViewLibraryVersion = '2.0.0'
3+
def final tableViewLibraryVersion = '2.0.1'
44

55
ext {
66
bintrayRepo = 'maven'

0 commit comments

Comments
 (0)