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
/** | |
* Created by hamurcuabi on 05,October,2020 | |
**/ | |
public class BaseBottomSheet extends BottomSheetDialogFragment { | |
private static final String TAG = "BaseBottomSheet"; | |
@NonNull |
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 android.content.Context; | |
import android.graphics.Canvas; | |
import android.graphics.Color; | |
import android.graphics.Paint; | |
import android.util.AttributeSet; | |
import android.view.View; | |
import android.view.animation.Animation; | |
import android.view.animation.LinearInterpolator; |
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 com.motionsteel.huhuu.R; | |
import java.util.HashMap; | |
import java.util.Map; | |
/** | |
* Created by hamurcuabi on 29,April,2020 | |
**/ |
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.motionsteel.huhuu.helper; | |
import android.content.Context; | |
import android.location.Location; | |
import android.provider.Settings; | |
/** | |
* Created by hamurcuabi on 20,April,2020 | |
**/ | |
public class LocaitonHelper { |
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 android.view.View; | |
/** | |
* Created by hamurcuabi on 11,May,2020 | |
**/ | |
public abstract class DoubleClickListener implements View.OnClickListener { | |
private static final long DOUBLE_CLICK_TIME_DELTA = 300;//milliseconds | |
private long lastClickTime = 0; |
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.motionsteel.huhuu.util; | |
import android.text.TextUtils; | |
import android.text.format.DateFormat; | |
import android.util.Log; | |
import java.sql.Timestamp; | |
import java.text.ParseException; | |
import java.text.SimpleDateFormat; | |
import java.util.Calendar; |
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.emrhmrc.androidpro | |
import android.content.Context | |
import android.net.ConnectivityManager | |
import android.net.NetworkCapabilities | |
import android.os.Build | |
/**Created by hamurcuabi on 01,November,2020 **/ | |
@Suppress("DEPRECATION") |
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.emrhmrc.fideyo.utils; | |
import android.util.Patterns; | |
import com.emrhmrc.fideyo.model.ValidationModel; | |
import java.util.regex.Pattern; | |
/** | |
* Created by hamurcuabi on 28,August,2020 |
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.emrehmrc.pref_datastore.helper | |
import android.content.Context | |
import androidx.datastore.preferences.core.* | |
import androidx.datastore.preferences.preferencesDataStore | |
/** | |
* Rev 1.0 | |
* Author EmreHamurcu | |
* Date 4/24/2021 |
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
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { | |
super.onActivityResult(requestCode, resultCode, data) | |
// Capture Image with Camera | |
if (requestCode == CAMERA_IMAGE_REQUEST && resultCode == Activity.RESULT_OK) { | |
if (data != null) { | |
val imageBitmap = data.getExtras().get("data") as Bitmap | |
// Do Something | |
} else { | |
// Couldn't take camera image |
OlderNewer