GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge branch 'release/v5.8.0' · inloop/AboutLibraries@5e84b33

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • MIGRATION.md
  • README.md
  • app
    • build.gradle
  • build.gradle
  • gradle.properties
  • library
    • build.gradle
    • src/main
      • java/com/mikepenz/aboutlibraries/util
        • UIUtils.java
      • res/values
        • library_aboutlibraries_strings.xml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎MIGRATION.md‎

Copy file name to clipboardExpand all lines: MIGRATION.md
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
###Upgrade Notes
2+
#### v5.8.0
3+
* **Dropping support for API < 14. New MinSdkVersion is 14**
24

35
#### v5.6.1 -> v5.6.2
46
* Change `void onLibTaskFinished()` to `void onLibTaskFinished(FastItemAdapter fastItemAdapter)`
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ You can find anything you search for in the wiki. (If not open an issue)
4949
The AboutLibraries Library is pushed to [Maven Central](http://search.maven.org/#search|ga|1|g%3A%22com.mikepenz%22), so you just need to add the following dependency to your `build.gradle`. It seems it is also required to add the support dependencies to the application. If it works without, you should be fine too :).
5050

5151
```javascript
52-
compile('com.mikepenz:aboutlibraries:5.7.3@aar') {
52+
compile('com.mikepenz:aboutlibraries:5.8.0@aar') {
5353
transitive = true
5454
}
5555
```
Collapse file

‎app/build.gradle‎

Copy file name to clipboardExpand all lines: app/build.gradle
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ android {
1111
buildToolsVersion rootProject.ext.buildToolsVersion
1212

1313
defaultConfig {
14-
minSdkVersion 10
14+
minSdkVersion 14
1515
targetSdkVersion 24
16-
versionCode 573
17-
versionName '5.7.3'
16+
versionCode 580
17+
versionName '5.8.0'
1818

1919
applicationVariants.all { variant ->
2020
variant.outputs.each { output ->
@@ -59,11 +59,11 @@ dependencies {
5959
// contains util classes to support various android versions, and clean up code
6060
// comes with the awesome "Holder"-Pattern
6161
// https://github.com/mikepenz/Materialize
62-
compile 'com.mikepenz:materialize:0.9.0@aar'
62+
compile 'com.mikepenz:materialize:1.0.0@aar'
6363

6464
//used to generate the drawer on the left
6565
//https://github.com/mikepenz/MaterialDrawer
66-
compile('com.mikepenz:materialdrawer:5.3.4@aar') {
66+
compile('com.mikepenz:materialdrawer:5.5.0@aar') {
6767
transitive = true
6868
exclude module: "fastadapter"
6969
exclude module: "iconics-core"
Collapse file

‎build.gradle‎

Copy file name to clipboardExpand all lines: build.gradle
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ buildscript {
1313
ext {
1414
compileSdkVersion = 24
1515
buildToolsVersion = "24.0.1"
16-
supportLibVersion = "24.1.1"
16+
supportLibVersion = "24.2.0"
1717
}
1818

1919
allprojects {
Collapse file

‎gradle.properties‎

Copy file name to clipboardExpand all lines: gradle.properties
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
VERSION_NAME=5.7.3
2-
VERSION_CODE=573
1+
VERSION_NAME=5.8.0
2+
VERSION_CODE=580
33
GROUP=com.mikepenz
44
POM_DESCRIPTION=AboutLibraries Library
55
POM_URL=https://github.com/mikepenz/AboutLibraries
Collapse file

‎library/build.gradle‎

Copy file name to clipboardExpand all lines: library/build.gradle
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ android {
66
buildToolsVersion rootProject.ext.buildToolsVersion
77

88
defaultConfig {
9-
minSdkVersion 10
9+
minSdkVersion 14
1010
targetSdkVersion 24
11-
versionCode 573
12-
versionName '5.7.3'
11+
versionCode 580
12+
versionName '5.8.0'
1313
}
1414

1515
buildTypes {
@@ -36,10 +36,10 @@ dependencies {
3636
// used to provide out of the box icon font support. simplifies development,
3737
// and provides scalable icons. the core is very very light
3838
// https://github.com/mikepenz/Android-Iconics
39-
compile 'com.mikepenz:iconics-core:2.7.2@aar'
39+
compile 'com.mikepenz:iconics-core:2.8.0@aar'
4040

4141
// used to fill the RecyclerView with the items
4242
// and provides single and multi selection, expandable items
4343
// https://github.com/mikepenz/FastAdapter
44-
compile 'com.mikepenz:fastadapter:1.6.1@aar'
44+
compile 'com.mikepenz:fastadapter:1.7.0@aar'
4545
}
Collapse file

‎library/src/main/java/com/mikepenz/aboutlibraries/util/UIUtils.java‎

Copy file name to clipboardExpand all lines: library/src/main/java/com/mikepenz/aboutlibraries/util/UIUtils.java
+1-36Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,16 @@
55
import android.content.res.Resources;
66
import android.content.res.TypedArray;
77
import android.graphics.drawable.Drawable;
8-
import android.os.Build;
98
import android.support.v4.content.ContextCompat;
109
import android.util.DisplayMetrics;
1110
import android.util.TypedValue;
1211
import android.view.View;
1312

14-
import com.mikepenz.aboutlibraries.R;
15-
1613
/**
1714
* Created by mikepenz on 15.03.14.
1815
*/
1916
@SuppressLint("InlinedApi")
2017
public class UIUtils {
21-
22-
/**
23-
* helper to get the system default selectable background
24-
*
25-
* @param ctx
26-
* @return
27-
*/
28-
public static int getSelectableBackground(Context ctx) {
29-
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
30-
// If we're running on Honeycomb or newer, then we can use the Theme's
31-
// selectableItemBackground to ensure that the View has a pressed state
32-
TypedValue outValue = new TypedValue();
33-
ctx.getTheme().resolveAttribute(R.attr.selectableItemBackground, outValue, true);
34-
return outValue.resourceId;
35-
} else {
36-
TypedValue outValue = new TypedValue();
37-
ctx.getTheme().resolveAttribute(android.R.attr.itemBackground, outValue, true);
38-
return outValue.resourceId;
39-
}
40-
}
41-
4218
public static int getThemeColor(Context ctx, int attr) {
4319
TypedValue tv = new TypedValue();
4420
if (ctx.getTheme().resolveAttribute(attr, tv, true)) {
@@ -85,18 +61,7 @@ public static void setBackground(View v, Drawable d) {
8561
* @param drawableRes
8662
*/
8763
public static void setBackground(View v, int drawableRes) {
88-
setBackground(v, getCompatDrawable(v.getContext(), drawableRes));
89-
}
90-
91-
/**
92-
* helper method to get the drawable by its resource. specific to the correct android version
93-
*
94-
* @param c
95-
* @param drawableRes
96-
* @return
97-
*/
98-
public static Drawable getCompatDrawable(Context c, int drawableRes) {
99-
return ContextCompat.getDrawable(c, drawableRes);
64+
setBackground(v, ContextCompat.getDrawable(v.getContext(), drawableRes));
10065
}
10166

10267
/**
Collapse file

‎library/src/main/res/values/library_aboutlibraries_strings.xml‎

Copy file name to clipboardExpand all lines: library/src/main/res/values/library_aboutlibraries_strings.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Most modern apps feature an "Used Library"-Section and for this some information of those libs is required. As it gets annoying to copy those strings always to your app I have developed this small helper library to provide the required information.
1313
]]>
1414
</string>
15-
<string name="library_AboutLibraries_libraryVersion">5.7.3</string>
15+
<string name="library_AboutLibraries_libraryVersion">5.8.0</string>
1616
<string name="library_AboutLibraries_libraryWebsite">https://github.com/mikepenz/AboutLibraries</string>
1717
<string name="library_AboutLibraries_licenseId">apache_2_0</string>
1818
<string name="library_AboutLibraries_isOpenSource">true</string>

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.