Skip to content

Commit

Permalink
upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
emrekotun34 committed Oct 28, 2021
1 parent 3e2c53d commit c2dc706
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'

implementation 'com.github.emrekotun:CpmToast:1.0.0'
implementation 'com.github.emrekotun:CpmToast:1.0.1'
}
9 changes: 5 additions & 4 deletions app/src/main/java/com/emrekotun/cpmtoast/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@ package com.emrekotun.cpmtoast

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.emrekotun.toast.CpmToast


class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)

/* CpmToast.createColorToast(
CpmToast.createColorToast(
this,
message,
CpmToast.TOAST_ERROR,
"Success !",
CpmToast.TOAST_SUCCESS,
CpmToast.GRAVITY_TOP,
CpmToast.LONG_DURATION
)*/
)
}
}

0 comments on commit c2dc706

Please sign in to comment.