Commit Graph

42 Commits

Author SHA1 Message Date
eladgel 57e7fe4e9a Update build.gradle
If having min api version of 21 I cannot build the project when using this library, since upgrading to the latest Android studio, this change fixes that

Android Studio 3.4.0
classpath 'com.android.tools.build:gradle:3.4.0'
2019-04-24 18:48:40 -07:00
Sergei Butko dcb3793527 Replace compile with implementation, take versions from root project
These changes prevent compilation errors when trying to build the release APK
2019-03-21 05:37:24 -07:00
Lewis Nelson 7e8f9667b5 Revert "Fixed anonymous class implementation from MaterialSimpleListAdapter.Callback interface (#109)" (#110)
This reverts commit c66031d1fe.
2019-02-28 09:34:46 -08:00
Lewis Nelson c66031d1fe Fixed anonymous class implementation from MaterialSimpleListAdapter.Callback interface (#109) 2019-02-28 07:44:15 -08:00
Janic Duplessis da2e87d336 Update material-dialogs version (#106) 2019-02-06 12:35:46 -08:00
Phecda Su 8a4cbfdb5d Implement 'keyboardType' on native side (#104) 2019-01-13 18:37:55 -08:00
eladgel 86341a5bfc Added maxNumberOfItems property (#102)
* DialogAndroid.js - Adding max number of items in a list property
* DialogAndroid.java - Added maxNumOfItems in a list dialog property, and handling so we control the dialog's size.
2019-01-02 06:49:15 -08:00
Sverre 8a74603224 RN 0.56 compat 2018-07-23 16:45:45 +02:00
Noitidart d8c3700e19
Udpate DialogAndroid.java - adjust for js api 2018-05-30 22:09:12 -07:00
Felipe Vieira 3f2b05b8dc checkbox prompt support for picker 2018-05-30 19:21:34 -03:00
Noitidart 5b55a623b8 Support regular RN color value, no more crashing after first callback is consumed. (#82)
* Update DialogAndroid.java

Support regular RN color value, no more crashing after first callback is consumed.

* new api in js

* updated js

* types fixing

* fixed class name from MaterialDialog to AndroidDialog

* Whops it should be DialogAndroid, not AndroidDialog

* fix showProgress - plan to remove this, just testing

* update readme

* added mroe examples

* assignDefaults example

* alternative shorthand signatures

* more readme

* deprecate string as item, selctedIndex, selectedIndices. moved to object as item, with label

* changes based on discusion with @vonovak

* readme nits

* readme nit

* readme touchups

* readme nit

* testing and fixes per testing

* .padStart is not same as prefix
2018-05-15 19:59:36 +02:00
Jamie Johnson c6ffde7a60 Add widgetColor, titleColor, contentColor and linkColor options (#72)
* add widgetColor option

* update readme

* update more color options

* call correct functions

* update readme

* cleanup
2017-12-05 10:38:56 +01:00
Ross 2cd553fa65 fix dependency (#49)
* fix dependency

* add missing quote
2017-11-15 22:37:32 +01:00
Vojtech Novak 42d681f017 Do not specify RN version, use RN from node_modules 2017-09-17 19:38:16 +02:00
Vinicius Zaramella 40bfea058e Fix crash when not selecting a option with itemsCallbackSingleChoice
Fix problem with crash when not selecting a option with itemsCallbackSingleChoice.
2017-09-17 19:36:30 +02:00
Radek Czemerys c480127112 Remove createJSModules - RN 0.47 compatibility (#66)
* Remove depreciated createJSModules @ovveride marker

* Fix typo

* Fix typo in comment
2017-09-17 00:35:17 +02:00
Gustavo Fão Valvassori 24c331efd7 fix color names 2017-02-18 06:34:31 -02:00
Gustavo Fão 6d15e55360 Added support for button color 2017-02-17 13:15:16 -02:00
Farzad Abdolhosseini 8dabf4ce5b Added gravity options for title, text, and buttons. Also added a simpler `rtl` option, for changing alignment to RTL 2016-12-18 12:47:47 +03:30
Vojtech Novak c71fdb32e7 Update build.gradle 2016-08-02 11:36:11 +02:00
Vojtech Novak 9af2933b7a upgrade dependency 2016-07-24 00:44:04 +02:00
Aakash N S 5ba214a3b1 Merge pull request #27 from alissoncs/master
Fix NullPointerException
2016-06-17 22:11:12 +05:30
Alisson Carvalho ae863ffd29 Fix NullPointerException, when there's nothing item selected (index -1) 2016-06-06 16:46:55 -03:00
Florian Biebel 73112b3dbf Update material-dialogs dependency
Update https://github.com/afollestad/material-dialogs to version 0.8.5.8 to fit the Android support library 23.2.0
2016-06-06 18:00:44 +02:00
Anthony Ou 7c51e1bab6 Update DialogAndroid.java 2016-03-18 11:47:03 -06:00
Anthony Ou 7ee0b7ac87 Dismiss works after selecting a simple list item 2016-03-17 13:59:13 -06:00
Anthony Ou 4f9e8bf493 updated java 2016-03-11 15:55:20 -07:00
Anthony Ou d3632dc994 Updated packager 2016-03-07 13:44:09 -07:00
Ross Dixon 646b4834a4 fix build error caused by support library 23.2
on 23.2 build fails with
No resource found that matches the given name (at 'android:actionModeCloseDrawable' with value '@drawable/abc_ic_ab_back_mtrl_am_alpha').
2016-02-25 20:33:16 -06:00
Byron Wang 641dea6d84 Show dialog on UI thread to avoid crash 2016-02-11 15:36:21 +08:00
Janic Duplessis 805292d39b Allow using Activity instead of FragmentActivity 2016-01-24 13:05:59 -05:00
jeffchienzabinet 72d9c0526f Added dismiss method 2016-01-05 19:56:22 -08:00
Geoffrey Goh 929557dae7 Rename ReadableMapKeySeyIterator to ReadableMapKeySetIterator 2015-11-20 18:49:43 -08:00
Geoffrey Goh 4555e21f83 Set minSDK to 16 as required by react-native 0.14 2015-11-20 18:47:35 -08:00
Iragne 19755ab511 Update build.gradle 2015-11-18 12:12:58 +01:00
Iragne 8631fe87c7 Update build.gradle 2015-11-18 12:12:41 +01:00
Aakash N S a48e7633c9 Changed build tools version to 23.0.1 2015-11-02 01:49:15 +05:30
Aakash N S 55d84b9408 Cleaned up Java Code 2015-11-01 23:58:58 +05:30
Aakash N S 89cde021d8 Cleaned up the Java code a bit 2015-11-01 23:43:16 +05:30
Aakash N S faf2f5f047 Added examples for implemented features 2015-11-01 22:58:44 +05:30
Aakash N S 2fb53a34b1 Single Choice example 2015-11-01 03:20:53 +05:30
Aakash N S 817a60dae9 Added build.gradle 2015-10-31 21:21:50 +05:30