Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add enableSelectionMode for DialogList #42

Open
wants to merge 118 commits into
base: v.0.2.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
87a0eea
Allow the user to get the current position of a DIALOG
mradzinski May 2, 2017
c2a471d
Update README.md
troy379 May 3, 2017
b75ae62
Update COMPONENT_DIALOGS_LIST.MD
ynagarjuna2012 May 9, 2017
43d816d
Add TypingListener to MessageInput
toanpv May 19, 2017
f1f9e6d
Remove spaces
toanpv May 19, 2017
9be17d7
Add delay typing to attr
toanpv May 19, 2017
3ca0aa5
Merge pull request #56 from stfalcon-studio/v.0.2.1
bevzaanton Jun 29, 2017
423f15c
DialogList: fixed changing text style to normal
bevzaanton Jun 29, 2017
1da8fe6
MessageList new feature: registering click listener for view by id
bevzaanton Jun 29, 2017
0da3d74
removed some unnecessary sample code
bevzaanton Jun 29, 2017
9891521
Merge pull request #57 from stfalcon-studio/v0.2.2
bevzaanton Jun 29, 2017
e1f6ef8
Update README.md
bevzaanton Jun 29, 2017
0987b4d
Update COMPONENT_MESSAGES_LIST.md
bevzaanton Jun 29, 2017
4bdd984
Update README.md
troy379 Jul 19, 2017
14c84e7
tiny refactoring
Jul 20, 2017
7e3148c
Added upsert(Message) method to add or update message to adapter as a…
hbmartin Jul 21, 2017
86b2a86
remove application tag from manifest
hbmartin Jul 21, 2017
a5b7309
Merge pull request #39 from ynagarjuna1995/patch-1
bevzaanton Jul 31, 2017
a0d3cec
npe check in DialofsListAdapter.java for last message when exists none
kirvis250 Aug 4, 2017
25ec6be
added get item by id method
philippeauriach Aug 9, 2017
b80f3a3
allow moving an item from position x to position y
philippeauriach Aug 9, 2017
f2e5cc7
test jitpack compile
philippeauriach Aug 9, 2017
f906bb2
Revert "test jitpack compile"
philippeauriach Aug 9, 2017
f268da6
please codebeat
philippeauriach Aug 9, 2017
a0c43a7
Made correction to DialogList documentation
SeunAdelekan Nov 21, 2017
ca015bb
Add nullable for getImageUrl()
dmathewwws Dec 21, 2017
1044829
fix link in docs
alouanemed Feb 17, 2018
2fbf4dc
wording
Tibolte Feb 26, 2018
df93f38
Merge pull request #140 from Tibolte/master
bevzaanton Mar 5, 2018
d93d0de
Avoid Crash on empty list
Sulfkain Mar 13, 2018
2b806f3
update support library version
andriizhumela Jul 3, 2018
0a7287f
update gradle version version
andriizhumela Jul 3, 2018
c310348
remove old command from gradle
andriizhumela Jul 3, 2018
8511efd
remove old tags from gradle
andriizhumela Jul 3, 2018
3efbc75
Merge pull request #1 from anymol/library_version
anymol Jul 3, 2018
236097d
Merge pull request #164 from anymol/master
alexz89ua Jul 4, 2018
bafd2e1
Fixed artifacts on some devices in ShapeImageView. Changed fixture me…
bevzaanton Jul 10, 2018
a5e2c12
Merge pull request #146 from Sulfkain/patch-2
bevzaanton Jul 10, 2018
fab9a70
Merge pull request #134 from alouanemed/patch-1
bevzaanton Jul 10, 2018
1414342
Merge pull request #119 from dmathewwws/dmathewwws-patch-1
bevzaanton Jul 10, 2018
fe3d1af
Merge pull request #112 from SeunAdelekan/master
bevzaanton Jul 10, 2018
0bef64c
Merge pull request #70 from philippeauriach/allow-moving-item
bevzaanton Jul 10, 2018
da60852
Merge pull request #32 from mradzinski/patch-2
bevzaanton Jul 10, 2018
bad7494
Version 0.2.3
bevzaanton Jul 10, 2018
91fd699
hot fix
bevzaanton Jul 10, 2018
784766c
Update README.md
bevzaanton Jul 10, 2018
9f3ebe2
Fixed Add attachments button in default view demo
bevzaanton Jul 10, 2018
5612f4b
Merge remote-tracking branch 'github/master'
bevzaanton Jul 10, 2018
5a22499
Create LICENSE
bevzaanton Jul 10, 2018
dc881f4
Merge pull request #167 from stfalcon-studio/add-license-1
bevzaanton Jul 10, 2018
97a6c1d
Merge pull request #61 from hbmartin/master
bevzaanton Jul 10, 2018
8de7ef1
Merge pull request #75 from kirvis250/npe-fix
bevzaanton Jul 11, 2018
53616b0
Merge branch 'add_typing_listener' of https://github.com/toanpv/ChatK…
bevzaanton Jul 11, 2018
9b0abf3
Merge branch 'add_typing_listener' of https://github.com/toanpv/ChatK…
bevzaanton Jul 11, 2018
aefbf0f
Merge branch 'toanpv-add_typing_listener'
bevzaanton Jul 11, 2018
da51c5f
Update LICENSE
bevzaanton Jul 11, 2018
6848a6e
Update README.md
bevzaanton Jul 11, 2018
95fc88e
Fixed artifacts with bubble background in message list.
bevzaanton Jul 11, 2018
b814b66
Merge remote-tracking branch 'github/master'
bevzaanton Jul 11, 2018
208e3e8
MessageListAdapter: added notifyDataSetChanged to method "clear"
bevzaanton Jul 11, 2018
3461ab3
Fixed bug "The totalItemsCount parameter in OnLoadMore callback conta…
bevzaanton Jul 11, 2018
351e23c
v0.3.0
bevzaanton Jul 11, 2018
160dff9
Update README.md
bevzaanton Jul 11, 2018
0c3083a
Update CHANGELOG.md
bevzaanton Jul 13, 2018
1c17fcc
Removal of forced software layer rendering
joostfunkekupper Aug 3, 2018
a3d2ace
Merge pull request #178 from joostfunkekupper/master
bevzaanton Aug 15, 2018
123f9ac
add ability to passing custom data to ViewHolder. Version 0.3.1
bevzaanton Aug 16, 2018
36e4cc9
Update documentation
bevzaanton Aug 16, 2018
5d213ca
set deprecated ViewHolder constructor. Update sample.
bevzaanton Aug 16, 2018
b0f5ca1
Merge remote-tracking branch 'github/master'
bevzaanton Aug 16, 2018
4a810bb
Update README.md
bevzaanton Aug 16, 2018
769eb0d
add proguard rules
bevzaanton Aug 16, 2018
f5fc9d9
Merge remote-tracking branch 'github/master'
bevzaanton Aug 16, 2018
37b1695
Update CHANGELOG.md
bevzaanton Aug 16, 2018
067b6a0
Update README.md
bevzaanton Aug 16, 2018
e0ee1eb
fix in proguard rules
bevzaanton Aug 16, 2018
f6e3ee3
Merge remote-tracking branch 'github/master'
bevzaanton Aug 16, 2018
5b58ff4
Enable payloads for custom content types
mweathers Aug 20, 2018
b22214a
Clear last message if null in dialog list (Fix issue #189)
mathroule Aug 28, 2018
2254593
Add upsert method to dialogs list
mathroule Aug 28, 2018
9918fa4
Merge pull request #191 from mathroule/upsert-dialog
bevzaanton Sep 25, 2018
615ae36
Merge pull request #190 from mathroule/clear-last-message-if-null-in-…
bevzaanton Sep 25, 2018
b4a84be
ver 0.3.2
bevzaanton Sep 25, 2018
dcd0eb0
fix addItem method in DialogListAdapter
bevzaanton Sep 25, 2018
4ff552e
Merge branch 'master' of https://github.com/stfalcon-studio/ChatKit i…
bevzaanton Sep 25, 2018
719b67a
make protected items field in MessagesListAdapter and DialogsListAdapter
bevzaanton Sep 25, 2018
3a754d7
fix delete and deleteByIds methods in MessagesListAdapter
bevzaanton Sep 26, 2018
3a10017
ability to pass custom data in ImageLoader
bevzaanton Sep 28, 2018
70d935b
Merge pull request #185 from mweathers/master
bevzaanton Sep 28, 2018
e3bcc47
Merge branch 'master' of https://github.com/stfalcon-studio/ChatKit i…
bevzaanton Sep 28, 2018
6b3ad76
Update documentation to add upsertItem method
mathroule Sep 30, 2018
afb7da2
Merge pull request #208 from mathroule/add-upsert-to-documentation
bevzaanton Oct 1, 2018
ca51b2f
Merge branch 'master' of https://github.com/stfalcon-studio/ChatKit i…
bevzaanton Oct 1, 2018
3561042
ability to pass custom data in ImageLoader
bevzaanton Oct 1, 2018
bc4a218
Added upsert method to move a specific item to the start.
Oct 4, 2018
e1b9332
Changed access modifier from public to protected for:
Oct 11, 2018
947aded
Update CHANGELOG.md
bevzaanton Oct 12, 2018
5edd804
Update CHANGELOG.md
bevzaanton Oct 12, 2018
c143b4a
Merge pull request #209 from PrimozPernat/move_to_start_if_update
bevzaanton Oct 12, 2018
c48ace0
version 0.3.3-SNAPSHOT
bevzaanton Oct 12, 2018
a660b7a
version 0.3.3
bevzaanton Oct 12, 2018
6b9072b
Update CHANGELOG.md
bevzaanton Oct 12, 2018
2cfc138
Update README.md
bevzaanton Oct 12, 2018
0c77ce9
Update COMPONENT_MESSAGES_LIST.md
bevzaanton May 29, 2019
47c2ca3
Update README.md
andriizhumela Jul 8, 2019
243e890
Update COMPONENT_MESSAGES_LIST.md
andriizhumela Jul 9, 2019
b3be2b0
Migrated to AndroidX and Java 8
IlyaGazman Oct 7, 2020
f10254b
Updated broken link
muankit Jan 28, 2021
6977471
Merge pull request #338 from gazman-sdk/master
bevzaanton Feb 11, 2021
f966d46
update Picasso version
bevzaanton Feb 11, 2021
3d4baf0
update gradle-wrapper.properties
bevzaanton Feb 11, 2021
ee44d13
add gradle-wrapper.jar
bevzaanton Feb 11, 2021
3db6396
v0.4.1
bevzaanton Feb 12, 2021
1ebe23d
Update README.md
bevzaanton Feb 12, 2021
51430f5
Update README.md
bevzaanton Feb 12, 2021
6a2677c
Update README.md
bevzaanton Feb 12, 2021
725a796
Update README.md
bevzaanton Feb 15, 2021
d10cfe3
Merge pull request #345 from muankit/patch-1
bevzaanton Mar 29, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# built application files
*.apk
*.ap_
*.jar

# files for the dex VM
*.dex
Expand Down Expand Up @@ -38,4 +37,4 @@ android/proguard/
*.iws
.idea/
build/
.gradle
.gradle
201 changes: 201 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2018 stfalcon.com

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
59 changes: 45 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[ ![Download](https://api.bintray.com/packages/troy379/maven/ChatKit/images/download.svg) ](https://bintray.com/troy379/maven/ChatKit/_latestVersion)

# ChatKit for Android

[![](https://jitpack.io/v/stfalcon-studio/Chatkit.svg)](https://jitpack.io/#stfalcon-studio/Chatkit)

ChatKit is a library designed to simplify the development of UI for such a trivial task as chat. It has flexible possibilities for styling, customizing and data management

<p align="center">
Expand Down Expand Up @@ -41,19 +41,50 @@ To implement all of the features above you can use the following components:

### Download

Download via Gradle:
```gradle
compile 'com.github.stfalcon:chatkit:0.2.0'
1. Add jitpack to the root build.gradle file of your project at the end of repositories.
```
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
2. Add the dependency
[![](https://jitpack.io/v/stfalcon-studio/Chatkit.svg)](https://jitpack.io/#stfalcon-studio/Chatkit)
```
dependencies {
...
implementation 'com.github.stfalcon-studio:Chatkit:[last_version]'
}
```

or Maven:
```xml
<dependency>
<groupId>com.github.stfalcon</groupId>
<artifactId>chatkit</artifactId>
<version>0.2.0</version>
<type>pom</type>
</dependency>
### AndroidX
To use with AndroidX you have to set targetSdkVersion for your project to 28 and add following 2 lines in ```gradle.properties``` file.
```
android.useAndroidX=true
android.enableJetifier=true
```

### Proguard
If you are using ProGuard you might need to add rules:
```
-keep class * extends com.stfalcon.chatkit.messages.MessageHolders$OutcomingTextMessageViewHolder {
public <init>(android.view.View, java.lang.Object);
public <init>(android.view.View);
}
-keep class * extends com.stfalcon.chatkit.messages.MessageHolders$IncomingTextMessageViewHolder {
public <init>(android.view.View, java.lang.Object);
public <init>(android.view.View);
}
-keep class * extends com.stfalcon.chatkit.messages.MessageHolders$IncomingImageMessageViewHolder {
public <init>(android.view.View, java.lang.Object);
public <init>(android.view.View);
}
-keep class * extends com.stfalcon.chatkit.messages.MessageHolders$OutcomingImageMessageViewHolder {
public <init>(android.view.View, java.lang.Object);
public <init>(android.view.View);
}
```

### Try it
Expand All @@ -79,7 +110,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
https://github.com/stfalcon-studio/ChatKit/blob/master/LICENSE

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
13 changes: 8 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,22 @@
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.1'
classpath 'com.novoda:bintray-release:0.4.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.android.tools.build:gradle:4.1.2'
}
}

plugins {
id 'maven-publish'
}

allprojects {
repositories {
jcenter()
google()
maven { url "https://jitpack.io" }
}
}

Expand Down
52 changes: 29 additions & 23 deletions chatkit/build.gradle
Original file line number Diff line number Diff line change
@@ -1,44 +1,50 @@
apply plugin: 'com.android.library'
apply plugin: 'com.novoda.bintray-release'
apply plugin: 'maven-publish'

android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
compileSdkVersion 29
buildToolsVersion '29.0.2'

defaultConfig {
minSdkVersion 14
targetSdkVersion 25
versionCode 1
versionName "0.2.1"

versionName '0.4.1'
consumerProguardFiles 'proguard.txt'
}
android {
lintOptions {
abortOnError false
}
}
}

publish {
groupId = 'com.github.stfalcon'
artifactId = 'chatkit'
publishVersion = '0.2.1'
desc = 'ChatKit - is a library designed to simplify the development of UI for such a trivial task as chat. It have flexible possibilities for styling, customizing and data management'
licences = ['Apache-2.0']
uploadName = 'ChatKit'
website = 'https://github.com/stfalcon-studio/ChatKit.git'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

ext {
supportVersion = '25.3.1'
flexboxVersion = '0.2.5'
afterEvaluate {
publishing {
publications {
// Creates a Maven publication called "release".
release(MavenPublication) {
// Applies the component for the release build variant.
from components.release

// You can then customize attributes of the publication as shown below.
groupId = 'com.github.stfalcon'
artifactId = 'chatkit'
version = '0.4.1'
}
}
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
implementation fileTree(dir: 'libs', include: ['*.jar'])

compile "com.android.support:appcompat-v7:$supportVersion"
compile "com.android.support:design:$supportVersion"
compile "com.google.android:flexbox:$flexboxVersion"
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.2.1'
implementation "com.google.android:flexbox:1.0.0"
implementation 'androidx.recyclerview:recyclerview:1.1.0'
}
Loading