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
@AutoValue public abstract class A implements AModel { | |
/** | |
* SQLDelight Factories contain all SQL statement that were defined in the | |
* corresponding A.sq file in form of a SQLDelightStatement. | |
+ They are a sort of prepared statement, | |
* that contain the actual SQL string and provide type safe mappings. | |
* A usage of the SQLDelightStatement is demonstrated in Repository.java. | |
* The Factory also provides mapper, that map a row inside a cursor result | |
* to a Java model. | |
* Therefore the Factory's constructor takes a creator, that knows how to build |
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 com.leandrofavarin.tools; | |
import android.os.CountDownTimer; | |
public class PausableCountDownTimer { | |
long millisInFuture = 0; | |
long countDownInterval = 0; | |
long millisRemaining = 0; |
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
pkill -9 "Android\ File\ Transfer\ Agent" | |
rm -r ~/Library/Application\ Support/Google/Android\ File\ Transfer/Android\ File\ Transfer\ Agent.app | |
cd /Applications/Android\ File\ Transfer.app/Contents/Resources | |
mv Android\ File\ Transfer\ Agent.app Android\ File\ Transfer\ Agent.app.DISABLED |