Skip to content

Commit

Permalink
nin3
Browse files Browse the repository at this point in the history
  • Loading branch information
TuleSimon committed Jul 29, 2023
1 parent 4245395 commit 4f86fb0
Show file tree
Hide file tree
Showing 295 changed files with 18 additions and 3,652 deletions.
17 changes: 0 additions & 17 deletions .idea/deploymentTargetDropDown.xml

This file was deleted.

2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# XMaterial Compose Country Code Picker
# XMaterial Compose Country Code Picker

Jetpack Compose Material Country Code Picker

<a href="https://www.linkedin.com/mwlite/in/tule-simon-67a202157">Chat me up on Linkedln</a>

## Latest Version
The latest version is <a href="https://github.com/TuleSimon/xMaterialccp/releases/tag/v1.16">v1.16</a>
The latest version is <a href="https://github.com/TuleSimon/xMaterialccp/releases/tag/v1.21">v1.21</a>

## WHAT IS NEW (v1.16)
## WHAT IS NEW (v1.21)
* fix indian phone number hint
* update compose version, and android kotlin version
* allow custom error icon
* allow custom dropdown icon
Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ android {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion '1.4.2'
kotlinCompilerExtensionVersion '1.4.7'
}
packagingOptions {
resources {
Expand All @@ -51,10 +51,10 @@ dependencies {

implementation 'androidx.core:core-ktx:1.10.0'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1'
implementation 'androidx.activity:activity-compose:1.7.0'
implementation 'androidx.activity:activity-compose:1.7.2'
implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
implementation 'androidx.compose.material3:material3:1.1.0-alpha07'
implementation 'androidx.compose.material3:material3:1.1.0-rc01'
implementation project(path: ':xmaterialccp')
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import androidx.compose.foundation.layout.*
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.verticalScroll
import androidx.compose.material3.Button
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.OutlinedButton
import androidx.compose.material3.Surface
Expand Down Expand Up @@ -123,16 +124,12 @@ fun SelectCountryWithCountryCode() {
fullPhoneNumber = fullPhoneNumber,
countryCode = defaultLang
)
OutlinedButton(
Button(
onClick = {
isValidPhone = checkPhoneNumber
},
modifier = Modifier
.fillMaxWidth()
.padding(horizontal = 16.dp)
.height(
50.dp
)
) {
Text(text = "Phone Verify")
}
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ buildscript {
}
}// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.4.1' apply false
id 'com.android.library' version '7.4.1' apply false
id 'org.jetbrains.kotlin.android' version '1.8.10' apply false
id 'com.android.application' version '7.4.2' apply false
id 'com.android.library' version '7.4.2' apply false
id 'org.jetbrains.kotlin.android' version '1.8.21' apply false
}


Expand Down
1 change: 0 additions & 1 deletion materialccpicker/.gitignore

This file was deleted.

46 changes: 0 additions & 46 deletions materialccpicker/build.gradle

This file was deleted.

Empty file.
21 changes: 0 additions & 21 deletions materialccpicker/proguard-rules.pro

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions materialccpicker/src/main/AndroidManifest.xml

This file was deleted.

Loading

0 comments on commit 4f86fb0

Please sign in to comment.