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.blacksquared.changers.manager; | |
import android.content.Context; | |
import android.content.SharedPreferences; | |
import com.blacksquared.changers.Constants; | |
import com.blacksquared.changers.interfaces.Initializer; | |
import com.blacksquared.changers.model.CachedValue; | |
import java.util.HashSet; |
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.blacksquared.changers.model; | |
import android.content.SharedPreferences; | |
/** | |
* Created by Ed | |
*/ | |
public class CachedValue<T> { | |
private static SharedPreferences sharedPref; |
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 checkPassword() { | |
boolean isResult = true; | |
if (mFirstName.getText().toString().isEmpty() || mFirstName.getText().toString().length() < 2) { | |
isResult = false; | |
mFirstName | |
.setBackgroundResource(R.drawable.rededittext_edit_text_holo_light); | |
} else { | |
mFirstName | |
.setBackgroundResource(R.drawable.greenedittext_edit_text_holo_light); |
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.blacksquared.changers.activity; | |
import java.util.Locale; | |
import android.annotation.TargetApi; | |
import android.app.ActionBar; | |
import android.app.Activity; | |
import android.app.Dialog; | |
import android.app.ProgressDialog; | |
import android.content.Intent; |
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.blacksquared.changers.manager; | |
import java.lang.reflect.Type; | |
import java.util.ArrayList; | |
import java.util.LinkedList; | |
import java.util.List; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.content.Intent; |
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.blacksquared.changers.fragment.auth; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import android.view.LayoutInflater; | |
import android.view.MenuItem; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.EditText; | |
import android.widget.LinearLayout; |
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
apply plugin: 'com.android.application' | |
apply plugin: 'crashlytics' | |
android { | |
compileSdkVersion rootProject.ext.compileSdkVersion | |
buildToolsVersion rootProject.ext.buildToolsVersion | |
defaultConfig { | |
minSdkVersion rootProject.ext.minSdkVersion | |
targetSdkVersion rootProject.ext.targetSdkVersion |
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
apply plugin: 'com.android.application' | |
apply from: '../gradle.properties' | |
android { | |
compileSdkVersion 21 | |
buildToolsVersion '21.1.1' | |
defaultConfig { | |
applicationId "com.blacksquared.changers" | |
minSdkVersion 15 | |
targetSdkVersion 21 |
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.blacksquared.changers.api.task.statistic; | |
import com.blacksquared.changers.App; | |
import com.blacksquared.changers.Constants; | |
import com.blacksquared.changers.api.ApiSettings; | |
import com.blacksquared.changers.api.request.StatisticsApi; | |
import com.blacksquared.changers.api.task.ApiTask; | |
import com.blacksquared.changers.event.rank.RankCityEvent; | |
import com.blacksquared.changers.model.dto.statistic.StatisticRankCitiesDTO; |
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
/* | |
* This is the source code of Telegram for Android v. 1.3.2. | |
* It is licensed under GNU GPL v. 2 or later. | |
* You should have received a copy of the license in this archive (see LICENSE). | |
* | |
* Copyright Nikolai Kudashov, 2013. | |
*/ | |
package org.telegram.ui; |