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
- | |
алярмово: швидко, негайно, терміново | |
андрути: вафлі | |
аусвайс: пропуск, посвідчення | |
афини: чорниця | |
ашош: звичайно | |
баба: гора, височина, великодня паска | |
багна: болото, волога місцевість | |
багрівка: смерекова смола | |
бадилля: сухі стебла рослин |
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
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"basics": { | |
"name": "Denys Nykyforov", | |
"label": "Software Engineer", | |
"image": "", | |
"email": "[email protected]", | |
"phone": "+38 (066) 527-82-43", | |
"url": "", | |
"summary": "A forward-thinking developer offering more than seven years of experience in designing, building, testing and supporting Android applications. Adaptable and able to quickly pick up new techniques. Having much experience of creating solutions to complex problems.", |
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
class Solution { | |
public List<List<Integer>> combinationSum(int[] candidates, int target) { | |
return new ArrayList<>(findComb(candidates, target)); | |
} | |
Set<List<Integer>> findComb(int[] candidates, int target){ | |
Set<List<Integer>> result = new HashSet<List<Integer>>(); | |
for(int i = 0; i < candidates.length; i++){ | |
if(candidates[i] == target){ |
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
class DecimalDigitsInputFilter(val decimalDigits: Int) : InputFilter { | |
override fun filter(source: CharSequence, start: Int, end: Int, dest: Spanned, dstart: Int, dend: Int): CharSequence? = | |
if (dstart > dest.indexOf('.') && | |
dest.toString().substringAfter('.', "").length > decimalDigits - 1 | |
) "" else null | |
} |
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
class PrefixInputFilter(private val prefix: String) : InputFilter { | |
override fun filter(source: CharSequence, start: Int, end: Int, dest: Spanned?, dstart: Int, dend: Int): CharSequence? { | |
val newStart = max(prefix.length, dstart) | |
val newEnd = max(prefix.length, dend) | |
return if (newStart != dstart || newEnd != dend) { | |
val builder = SpannableStringBuilder(dest) | |
builder.replace(newStart, newEnd, source) | |
if (source is Spanned) { | |
TextUtils.copySpansFrom(source, 0, source.length, null, builder, newStart) |
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.text.Selection | |
import android.text.SpanWatcher | |
import android.text.Spannable | |
import kotlin.math.max | |
class UnselectablePrefixSpanWatcher(private val prefix: String) : SpanWatcher { | |
override fun onSpanAdded(text: Spannable, what: Any, start: Int, end: Int) = Unit | |
override fun onSpanRemoved(text: Spannable, what: Any, start: Int, end: Int) = Unit |
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.text.Selection | |
import android.text.SpanWatcher | |
import android.text.Spannable | |
import kotlin.math.max | |
class UnselectablePrefixSpanWatcher(private val prefix: String) : SpanWatcher { | |
override fun onSpanAdded(text: Spannable, what: Any, start: Int, end: Int) = Unit | |
override fun onSpanRemoved(text: Spannable, what: Any, start: Int, end: Int) = Unit |
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.animation.Animator | |
import android.animation.AnimatorListenerAdapter | |
import android.animation.AnimatorSet | |
import android.animation.ObjectAnimator | |
import android.annotation.TargetApi | |
import android.graphics.Outline | |
import android.graphics.Rect | |
import android.os.Build | |
import android.transition.Transition | |
import android.transition.TransitionValues |
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.arch.lifecycle.ViewModelProvider | |
import android.arch.lifecycle.ViewModelProviders | |
import android.content.Context | |
import android.content.Intent | |
import android.databinding.DataBindingUtil | |
import android.graphics.Color | |
import android.os.Bundle | |
import android.view.View | |
import com.popalay.cardme.R | |
import com.popalay.cardme.databinding.ActivityHolderDetailsBinding |
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
private void refitText(String text, int textWidth) { | |
if (textWidth <= 0) { | |
return; | |
} | |
final int targetWidth = textWidth - getPaddingLeft() - getPaddingRight(); | |
float hi = 1f; | |
float lo = 0f; | |
float textWidthCalculated; | |
while (hi - lo > 0.1) { |
NewerOlder