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
dec hex per | |
0 0 0 | |
1 1 0 | |
2 2 1 | |
3 3 1 | |
4 4 2 | |
5 5 2 | |
6 6 2 | |
7 7 3 | |
8 8 3 |
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 AdArbitraryCell implements ArbitraryCellSelector.Cell { | |
@Override | |
public boolean is(Object item) { | |
return item instanceof AdVo; | |
} | |
@Override | |
public int type() { | |
return R.layout.cell_ad; |
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.support.annotation.NonNull; | |
import android.support.annotation.Nullable; | |
import java.io.ByteArrayOutputStream; | |
import java.io.Closeable; | |
import java.io.IOException; | |
import java.io.InputStream; | |
/** | |
* @author Aleks Sander |
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 <you_package>.data.api; | |
import android.content.Context; | |
import android.support.annotation.NonNull; | |
import com.google.gson.ExclusionStrategy; | |
import com.google.gson.FieldAttributes; | |
import com.google.gson.Gson; | |
import com.google.gson.GsonBuilder; |
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.support.annotation.NonNull; | |
import android.support.annotation.Nullable; | |
import java.io.ByteArrayOutputStream; | |
import java.io.Closeable; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.lang.annotation.Annotation; | |
import java.lang.reflect.Type; |
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.content.Context; | |
import android.graphics.Typeface; | |
import android.support.annotation.NonNull; | |
import android.support.annotation.Nullable; | |
import android.support.annotation.StringDef; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.RetentionPolicy; | |
import java.lang.ref.WeakReference; | |
import java.util.HashMap; |
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.content.Context; | |
import android.net.ConnectivityManager; | |
import android.net.NetworkInfo; | |
import android.support.annotation.NonNull; | |
import android.telephony.TelephonyManager; | |
@SuppressWarnings("unused") | |
public final class Connectivity { | |
private Connectivity() { |
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 io.reactivex.Observable; | |
import io.reactivex.ObservableSource; | |
import io.reactivex.ObservableTransformer; | |
import io.reactivex.android.schedulers.AndroidSchedulers; | |
/** | |
* @author Aleks Sander | |
*/ | |
public final class MainThreadSchedule<Stream> implements ObservableTransformer<Stream, Stream> { |
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
const | |
fbc | |
foreach | |
gone | |
IntentView | |
key | |
newInstance | |
noInstance | |
rgS | |
rouiT |
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
["Москва", "Абрамцево", "Алабино", "Апрелевка", "Архангельское", "Ашитково", "Байконур", "Бакшеево", "Балашиха", "Барыбино", "Белоомут", "Белые Столбы", "Бородино", "Бронницы", "Быково", "Валуево", "Вербилки", "Верея", "Видное", "Внуково", "Вождь Пролетариата", "Волоколамск", "Вороново", "Воскресенск", "Восточный", "Востряково", "Высоковск", "Голицино", "Деденево", "Дедовск", "Джержинский", "Дмитров", "Долгопрудный", "Домодедово", "Дорохово", "Дрезна", "Дубки", "Дубна", "Егорьевск", "Железнодорожный", "Жилево", "Жуковский", "Загорск", "Загорянский", "Запрудная", "Зарайск", "Звенигород", "Зеленоград", "Ивантеевка", "Икша", "Ильинский", "Истра", "Калининград", "Кашира", "Керва", "Климовск", "Клин", "Клязьма", "Кожино", "Кокошкино", "Коломна", "Колюбакино", "Королев", "Косино", "Котельники", "Красково", "Красноармейск", "Красногорск", "Краснозаводск", "Краснознаменск", "Красный Ткач", "Крюково", "Кубинка", "Купавна", "Куровское", "Лесной Городок", "Ликино-Дулево", "Лобня", "Лопатинский", "Лосино-Петровский", "Ло |
OlderNewer