From f351365ff8b1d34a3e33cf6e3dded1b57b1ca82e Mon Sep 17 00:00:00 2001 From: LayoutXML Date: Fri, 9 Nov 2018 19:51:14 +0000 Subject: [PATCH 1/3] Added generic type object to save custom data about an app or activity to --- .idea/caches/build_file_checksums.ser | Bin 603 -> 603 bytes .../applistmanagerlibrary/objects/AppData.java | 9 +++++++++ 2 files changed, 9 insertions(+) diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser index 0a8e58e2adebbb567dd649b7ca86d32e7f9a1a1d..85ce6b508d12f7556d6d5adf68896688ba9474ed 100644 GIT binary patch delta 15 Xcmcc3a+_ts43=MPUp+R?+0O_7Ipzm7 delta 15 Xcmcc3a+_ts43 Date: Fri, 9 Nov 2018 20:54:02 +0000 Subject: [PATCH 2/3] Updated readme and changelog --- CHANGELOG.md | 4 ++++ README.md | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d5c86c..26bfcb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog for AppListManager (Android Library) +## Version 2.1.0 + +- Added a new generic type object to AppData (variable called object). It is an additional variable that you can use for your own needs. If you need multiple variables, create a new wrapper object (new type) to hold those variables. Can be used with `getObject()` and `setObject(Object)`, where Object is any type. + ## Version 2.0.0 **NOTE**: This version introduces backwards incompatible changes. Follow the steps below on how to solve issues. diff --git a/README.md b/README.md index 8b858a3..53a422a 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,6 @@ AppListManager is easy to use Android library, which minimizes developing time w To receive application and activity lists using this library you must implement listeners and invoke methods. Additionally, to receive these lists automatically you must also register a receiver (in the manifest file and code). All listeners must be registered, and all unfinished tasks must be destroyed. Guide below explains exactly how to do all that. You can also inspect the included sample app that uses most of the features. -**NOTE**: Version 2.0.0 introduces backwards incompatible changes. Check the steps in [CHANGELOG.md](https://github.com/LayoutXML/AppListManager/blob/master/CHANGELOG.md) on how to solve issues. - [Download sample app from the Google Play store](https://play.google.com/store/apps/details?id=com.layoutxml.applistmanager). **Step 1: Add the JitPack repository in your root build.gradle at the end of repositories:** @@ -132,6 +130,7 @@ AppData object contains these properties of applications and activities: 4. ActivityName (*String*) - activity name you would want to use for identifying or launching activities. For applications this variable is set to null. 5. PackageName (*String*) - application package name. For activities it's still application package name. 6. Permissions (*String[]*) - application permissions. For activities it's still application permissions. +7. Object (*Object* (any object type)) - additional variable that you can use for your own needs. If you need multiple variables, create a new wrapper object (new type) to hold those variables. All these variables have getters and setters that can be used with `.set` and `.get`. For example, package name can be accessed with `.getPackageName()` and `.setPackageName(String)`. From b7d8c48f15ca51250ab45bbd7912e9f936f08d9b Mon Sep 17 00:00:00 2001 From: LayoutXML Date: Fri, 9 Nov 2018 20:56:27 +0000 Subject: [PATCH 3/3] Updated version codes and names --- .idea/caches/build_file_checksums.ser | Bin 603 -> 603 bytes README.md | 2 +- app/build.gradle | 4 ++-- applistmanagerlibrary/build.gradle | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser index 85ce6b508d12f7556d6d5adf68896688ba9474ed..03e82cd1dc6239ca6d43889123e1b22ff993d153 100644 GIT binary patch delta 55 zcmV-70LcH_1lt6VnFB$=k&&Et5KE_c#=&n~xMno^)=>C_T9YFIu@E7~U^B{o>0CzV NNtpObMS+v#0e9wq8oB@g delta 55 zcmV-70LcH_1lt6VnF9v(NRga(5P7wopIr9;4B5_Sq)cCOzE5K Nl}%G@vm=w_0e9~!8q@#) diff --git a/README.md b/README.md index 53a422a..b3f889e 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ allprojects { **Step 2. Add the dependency:** ``` dependencies { - implementation 'com.github.LayoutXML:AppListManager:2.0.0' + implementation 'com.github.LayoutXML:AppListManager:2.1.0' } ``` diff --git a/app/build.gradle b/app/build.gradle index 132dd63..c45ff70 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -6,8 +6,8 @@ android { applicationId "com.layoutxml.applistmanager" minSdkVersion 14 targetSdkVersion 28 - versionCode 92 - versionName "2.0.0" + versionCode 97 + versionName "2.1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { diff --git a/applistmanagerlibrary/build.gradle b/applistmanagerlibrary/build.gradle index baa7476..1a256ae 100644 --- a/applistmanagerlibrary/build.gradle +++ b/applistmanagerlibrary/build.gradle @@ -6,8 +6,8 @@ android { defaultConfig { minSdkVersion 14 targetSdkVersion 28 - versionCode 92 - versionName "2.0.0" + versionCode 97 + versionName "2.1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"