Skip to content

Instantly share code, notes, and snippets.

View MitchDroid's full-sized avatar
💪
Kotlin

Miller Barrera MitchDroid

💪
Kotlin
View GitHub Profile
@felipeska
felipeska / MapFragment.java
Created December 20, 2013 19:32
Add center 'marker', in map V2 Android
package com.widetech.mobile.coltaxis.ui.fragment;
import android.content.Intent;
import android.graphics.Point;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
@felipecsl
felipecsl / NoOverscrollSwipeRefreshLayout.java
Last active January 7, 2020 05:54
Modified Android SwipeRefreshLayout that does not move down the content view on swipe down (no overscroll)
/*
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software