Skip to content

Instantly share code, notes, and snippets.

View angular template variables example
<div *ngIf='{
userActions:(dataService.userActions$|async)
} as globalBag'
>
<ng-container *ngIf='{
timepointCount:(globalBag.timePoints.length),
widthObject:({"width.%": globalBag.zoomValue+""})
}as lowerBag'
>
View FABMixedScrollBehavior.java
import android.content.Context;
import android.support.design.widget.AppBarLayout;
import android.support.design.widget.CoordinatorLayout;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v4.view.ViewCompat;
import android.util.AttributeSet;
import android.view.View;
import java.util.List;