Skip to content

Update module #2

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

Merged
merged 2 commits into from
Apr 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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