This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.time.LocalDate | |
import java.time.chrono.HijrahDate | |
import java.time.format.DateTimeFormatter | |
import java.time.temporal.TemporalAdjusters | |
fun main() { | |
when (isLastRamadhan()) { | |
true -> { | |
println("it's felt so fast we passed this month, but happy...") | |
message.forEach { repeat(35) { loop -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun forgetPassword(email: String, isSuccess: (Boolean, message: String) -> Unit) { | |
Firebase.auth.sendPasswordResetEmail(email) | |
.addOnCompleteListener { | |
if (it.isSuccessful) isSuccess(true, "Berhasil Dikirim") | |
else isSuccess(false, DataHelpers.errorLoginMessage[it.exception?.message] ?: "") | |
} | |
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<set xmlns:android="http://schemas.android.com/apk/res/android" | |
android:duration="800" | |
android:interpolator="@android:anim/overshoot_interpolator"> | |
<scale | |
android:fromXScale="1.3" | |
android:fromYScale="1.3" | |
android:pivotX="50%" | |
android:pivotY="50%" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: android | |
jdk: oraclejdk8 | |
envi: | |
global: | |
- ANDROID_API_LEVEL=30 | |
- ANDROID_BUILD_TOOLS_VERSION=30.0.2 | |
android: | |
licenses: | |
- 'android-sdk-preview-license-.+' | |
- 'android-sdk-license-.+' |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.derysudrajat.jdbc; | |
public class Data { | |
private int id; | |
private String nama; | |
private String alamat; | |
private String phone; | |
public Data(int id, String nama, String alamat, String phone) { | |
this.id = id; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.derysudrajat.customdialog | |
import android.os.Bundle | |
import androidx.appcompat.app.AppCompatActivity | |
import androidx.recyclerview.widget.DefaultItemAnimator | |
import com.bumptech.glide.Glide | |
import com.google.android.material.bottomsheet.BottomSheetDialog | |
import kotlinx.android.synthetic.main.activity_main.* | |
import kotlinx.android.synthetic.main.item_bottom_sheet.view.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.derysudrajat.customdialog | |
import android.content.Context | |
import android.content.Intent | |
import android.net.Uri | |
import android.view.LayoutInflater | |
import android.view.View | |
import android.view.ViewGroup | |
import androidx.recyclerview.widget.RecyclerView | |
import com.bumptech.glide.Glide |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.derysudrajat.customdialog | |
data class ItemDialog( | |
val img: String, | |
val text: String, | |
val url: String | |
) |
NewerOlder