Skip to content

Commit

Permalink
Merge pull request #2 from m1ga/update
Browse files Browse the repository at this point in the history
Update module
  • Loading branch information
hansemannn authored Apr 3, 2023
2 parents af5de94 + 187c2a1 commit 64604bf
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 15 deletions.
Binary file removed android/_jar/android-bottom-sheet-1.4.6.jar
Binary file not shown.
12 changes: 1 addition & 11 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
apply plugin: 'java'

repositories {
google()
jcenter()
mavenCentral()
}

dependencies {
compile 'com.github.michael-rapp:android-bottom-sheet:1.4.6'
}

task getDeps(type: Copy) {
from sourceSets.main.runtimeClasspath
exclude 'support-*'
into 'lib/'
implementation 'com.github.michael-rapp:android-bottom-sheet:2.0.0'
}
Binary file removed android/lib/android-bottom-sheet-1.4.6.aar
Binary file not shown.
Binary file removed android/lib/android-util-1.20.2.aar
Binary file not shown.
6 changes: 3 additions & 3 deletions android/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# this is your module manifest and used by Titanium
# during compilation, packaging, distribution, etc.
#
version: 1.0.1
version: 2.0.0
apiversion: 4
architectures: arm64-v8a armeabi-v7a x86
architectures: arm64-v8a armeabi-v7a x86 x86_64
description: titanium-android-bottom-sheet
author: Hans Knöchel
license: Apache 2
Expand All @@ -15,4 +15,4 @@ name: titanium-android-bottom-sheet
moduleid: ti.bottomsheet
guid: 04a8e48b-0432-474b-8596-dca1256b314b
platform: android
minsdk: 7.0.0
minsdk: 9.0.0
10 changes: 9 additions & 1 deletion android/src/ti/bottomsheet/OptionDialogProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,15 @@ public void handleCreationDict(KrollDict args)
destructive = args.optInt("destructive", -1);
}

// Methods
@Kroll.setProperty
public void setOptions(Object[] value){
options = TiConvert.toStringArray(value);
}

@Kroll.getProperty
public String[] setOptions(){
return options;
}

@Kroll.method
public void show() {
Expand Down

0 comments on commit 64604bf

Please sign in to comment.