This file contains hidden or 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 re | |
with open('settings.gradle', 'r') as settingFile: | |
for settingLine in settingFile: | |
regularLine = settingLine.replace('"', '\'') | |
if "include" in regularLine: |
This file contains hidden or 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
// Discoed | |
66.22.243.5 frankfurt2601 | |
66.22.243.36 frankfurt4488 | |
66.22.199.84 rotterdam9550 | |
66.22.217.33 russia9602 | |
66.22.199.191 rotterdam518 | |
66.22.216.45 russia8510 | |
66.22.214.17 newark8916 | |
66.22.216.37 russia6443 | |
66.22.216.150 russia6443 |
This file contains hidden or 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
class PriceTextInputLayout @JvmOverloads constructor( | |
context: Context, | |
attrs: AttributeSet? = null, | |
defStyleAttr: Int = R.attr.textInputStyle | |
) : TextInputLayout(context, attrs, defStyleAttr) { | |
val locale = Locale(LOCALE_LANGUAGE_FA) | |
override fun onAttachedToWindow() { |
This file contains hidden or 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
//Don't use this | |
class PriceInputTextWatcher( | |
private val editText: EditText | |
) : TextWatcher { | |
private var ignoreOnPhoneChange = false | |
private var characterAction = CHARACTER_ACTION_UNKNOWN | |
private var actionPosition = 0 | |
override fun beforeTextChanged( |
This file contains hidden or 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"?> | |
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:fillViewport="true"> | |
<androidx.constraintlayout.widget.ConstraintLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" |
This file contains hidden or 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
* امنیت | |
* ci cd | |
* RXKotilin | |
* git | |
* code review | |
* concurrency | |
* constraintlayout |
This file contains hidden or 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
public abstract class ResponseWithErrorHandling<R, E> implements Callback<ResponseBody> { | |
private Type responseType; | |
private Type errorType; | |
public abstract void onResponseRequest(Call<ResponseBody> call, R response); | |
public abstract void onErrorRequest(Call<ResponseBody> call, E error); | |
public abstract void onFailureRequest(Call<ResponseBody> call, Throwable error); |
This file contains hidden or 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
developers.google.com, | |
dl.google.com, | |
firebase.google.com, | |
android.com, | |
googleapis.com, | |
oracle.com, | |
themeforest.net, | |
bintray.com, | |
atlassian.com, | |
bitbucket.org, |