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
<?xml version="1.0" encoding="utf-8"?> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item > | |
<shape android:shape="rectangle"> | |
<solid android:color="@color/light_blue"/> | |
</shape> | |
</item> |
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 boolean isConnectedToWearable = false; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
if (!servicesAvailable()) { | |
finish(); | |
} |
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
<android.support.wearable.view.BoxInsetLayout | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_height="match_parent" | |
android:layout_width="match_parent"> | |
<LinearLayout | |
android:id="@+id/textViewsLayout" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_alignParentTop="true" |
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
public class CarVO implements Serializable { | |
@Retention(RetentionPolicy.RUNTIME) | |
@Target({ElementType.FIELD}) | |
public @interface SkipThis { | |
// Field tag only annotation | |
} | |
private static final long serialVersionUID = 1824858721250363381L; |
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 final class BlurTransform implements Transformation { | |
WeakReference<Context> context; | |
public BlurTransform(Context context) { | |
super(); | |
this.context = new WeakReference<>(context); | |
} | |
@Override |
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
new AsyncTask<Void, Void, Void>() { | |
@Override | |
protected Void doInBackground(Void... params) { | |
$SELECTION$ | |
return null; | |
} | |
@Override | |
protected void onPostExecute(Void result) { |
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
<?xml version="1.0"?> | |
<!DOCTYPE module PUBLIC | |
"-//Puppy Crawl//DTD Check Configuration 1.2//EN" | |
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> | |
<module name="Checker"> | |
<module name="FileLength"><property name="max" value="800"/></module> | |
<module name="TreeWalker"> | |
<module name="MethodLength"><property name="max" value="60"/></module> |
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
plugins { | |
id 'net.saliman.cobertura' version '2.2.7' | |
} | |
cobertura { | |
coverageFormats = ['html', 'xml'] | |
coverageIgnoreTrivial = true | |
coverageIgnores = [] | |
coverageReportDir = new File("$buildDir/reports/cobertura") | |
} |
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
<FindBugsFilter> | |
<Match> | |
<Class name="~.*R\$.*"/> | |
</Match> | |
<Match> | |
<Class name="~.*Manifest\$.*"/> | |
</Match> | |
<Match> | |
<Class name="~.*_234$"/> | |
</Match> |
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 info.adavis.sample.models; | |
/** | |
* Sample Domain Object used for demonstration | |
* | |
* @author Annyce Davis | |
*/ | |
public class Video { | |
private long id; |
OlderNewer