This file contains hidden or 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
    
  
  
    
  | :+1: | |
| :-1: | |
| :airplane: | |
| :art: | |
| :bear: | |
| :beer: | |
| :bike: | |
| :bomb: | |
| :book: | |
| :bulb: | 
  
    
      This file contains hidden or 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
    
  
  
    
  | <?xml version="1.0" encoding="utf-8"?> | |
| <resources> | |
| <color name="colorPrimary">@color/cyan_500</color> | |
| <color name="colorPrimaryDark">@color/cyan_800</color> | |
| <color name="colorAccent">#FF4081</color> | |
| <color name="red_50">#ffebee</color> | |
| <color name="red_100">#ffcdd2</color> | |
| <color name="red_200">#ef9a9a</color> | |
| <color name="red_300">#e57373</color> | 
  
    
      This file contains hidden or 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.example.testSingleton; | |
| import android.app.Activity; | |
| import android.content.Intent; | |
| import android.os.Bundle; | |
| import android.widget.Toast; | |
| public class ActivityA extends Activity { | |
| @Override | |
| public void onCreate(Bundle savedInstanceState) { | 
  
    
      This file contains hidden or 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
    
  
  
    
  | #include<iostream> | |
| #include<cstdio> | |
| #include<string> | |
| #include<cstring> | |
| #include<cstdlib> | |
| #include<queue> | |
| #include<vector> | |
| #include<algorithm> | |
| using namespace std; | |
| int jump[8][2]={{1,2},{-1,-2},{-1,2},{1,-2},{2,1},{-2,-1},{-2,1},{2,-1}}; | 
  
    
      This file contains hidden or 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
    
  
  
    
  | #include<iostream> | |
| using namespace std; | |
| int par[100]={0}; | |
| int count=0; | |
| void makeset(int n) | |
| { | |
| par[n]=n; | |
| } | 
  
    
      This file contains hidden or 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
    
  
  
    
  | #include<iostream> | |
| #include<cstdio> | |
| #include<cstdlib> | |
| #include<cstring> | |
| #include<vector> | |
| #include<algorithm> | |
| #define MAXN 200003 | |
| using namespace std; | |
| struct edge | |
| { | 
  
    
      This file contains hidden or 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.graphics.Bitmap; | |
| import android.graphics.Canvas; | |
| import android.graphics.Paint; | |
| import android.graphics.PorterDuffXfermode; | |
| import android.graphics.Rect; | |
| import android.graphics.RectF; | |
| import android.graphics.Bitmap.Config; | |
| import android.graphics.PorterDuff.Mode; | |
| public class ImageHelper { | 
  
    
      This file contains hidden or 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
    
  
  
    
  | <shape xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:shape="rectangle" > | |
| <gradient | |
| android:startColor="#81C784" | |
| android:centerColor="#4CAF50" | |
| android:endColor="#2E7D32" | |
| android:type="linear" | |
| android:angle="135"/> | |
| </shape> | 
  
    
      This file contains hidden or 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.content.SharedPreferences; | |
| import android.util.Log; | |
| /** | |
| * Created by WS Ayan on 11/24/2015. | |
| */ | |
| public class SessionManager { | |
| private static String LOG = SessionManager.class.getSimpleName(); | 
  
    
      This file contains hidden or 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.ContentValues; | |
| import android.content.Context; | |
| import android.database.Cursor; | |
| import android.database.sqlite.SQLiteDatabase; | |
| import android.database.sqlite.SQLiteOpenHelper; | |
| public class SqliteDatabseHandler extends SQLiteOpenHelper { | |
| private static final int DATABASE_VERSION = 1; | |
OlderNewer