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 vn.mog.mygimi.home; | |
import android.content.Context; | |
import android.support.v7.widget.LinearLayoutManager; | |
import android.support.v7.widget.RecyclerView; | |
import android.util.AttributeSet; | |
import android.util.Log; | |
import android.view.View; | |
public final class SnappingRecyclerView extends RecyclerView { |
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
/** | |
* convert from cursor to arraylist of object | |
* | |
* @param <E> | |
* | |
* @param cursor | |
* @param class | |
* @return object | |
*/ | |
public static <E> ArrayList<E> cursorToArrayListObject(Cursor cursor, |
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.Html; | |
import android.util.Log; | |
import com.google.android.gms.maps.GoogleMap; | |
import com.google.android.gms.maps.model.LatLng; | |
import com.google.android.gms.maps.model.PolylineOptions; | |
import com.loopj.android.http.AsyncHttpClient; | |
import com.loopj.android.http.TextHttpResponseHandler; | |
import org.apache.http.Header; |
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.app.PendingIntent; | |
import android.app.Service; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.os.IBinder; | |
import android.util.Log; | |
import com.google.android.gms.common.ConnectionResult; | |
import com.google.android.gms.common.GooglePlayServicesClient; | |
import com.google.android.gms.common.GooglePlayServicesUtil; |
NewerOlder