Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixed #issue
Please delete options that are not relevant.
fun View.visible() { | |
visibility = View.VISIBLE | |
} | |
fun View.invisible() { | |
visibility = View.INVISIBLE | |
} | |
fun View.gone() { | |
visibility = View.GONE |
class ChipsView<T : Parcelable>(ctx: Context, attr: AttributeSet) : ConstraintLayout(ctx, attr) { | |
... | |
private fun addSubviews() { | |
val flow = Flow(context).apply { | |
id = generateViewId() | |
setWrapMode(Flow.WRAP_CHAIN) | |
setHorizontalStyle(Flow.CHAIN_PACKED) | |
setHorizontalAlign(Flow.HORIZONTAL_ALIGN_START) | |
setHorizontalBias(0f) |
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixed #issue
Please delete options that are not relevant.
#!/usr/bin/env bash | |
red=$(tput setaf 1) | |
none=$(tput sgr0) | |
show_help() { | |
printf "usage: $0 [--help] [--report] [--test] [<path to package>] | |
Script for running all unit and widget tests with code coverage. | |
(run from root of repo) |
@startuml Member+ Subscription | |
!include <C4/C4_Container> | |
Person(member, "Member") | |
System_Boundary(c1, "Member+ System") { | |
Container(api, "API", "Java 17, GraphQL", "Allows members to create and manage their subscriptions") | |
} | |
ContainerDb(db, "Database", "MySQL", "Holds plan, order and member information") | |
Rel(member, api, "Uses", "HTTPS") |
package <your_package>; | |
import android.support.test.espresso.intent.rule.IntentsTestRule; | |
import android.support.test.runner.AndroidJUnit4; | |
import android.test.suitebuilder.annotation.LargeTest; | |
import org.junit.After; | |
import org.junit.Rule; | |
import org.junit.Test; | |
import org.junit.runner.RunWith; |
@ExperimentalAnimationApi | |
@RunWith(AndroidJUnit4::class) | |
class NonOrganizerTest { | |
@get:Rule | |
val composeTestRule = createAndroidComposeRule<MainActivity>() | |
@Before | |
fun goToNonOrganizerFragment() { | |
composeTestRule.activityRule.scenario.onActivity { |
<FindBugsFilter> | |
<Match> | |
<Class name="~.*R\$.*"/> | |
</Match> | |
<Match> | |
<Class name="~.*Manifest\$.*"/> | |
</Match> | |
<Match> | |
<Class name="~.*_234$"/> | |
</Match> |
<?xml version="1.0" encoding="utf-8"?> | |
<androidx.constraintlayout.widget.ConstraintLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:padding="16dp"> | |
<ImageView |
private final class BlurTransform implements Transformation { | |
WeakReference<Context> context; | |
public BlurTransform(Context context) { | |
super(); | |
this.context = new WeakReference<>(context); | |
} | |
@Override |