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
[{ | |
"id": 1, | |
"name": "zebra", | |
"image_url": "https://i.imgur.com/O1eS03A.jpg", | |
"sound_name": "zebra" | |
}, | |
{ | |
"id": 2, | |
"name": "zebra", | |
"image_url": "https://i.imgur.com/O1eS03A.jpg", |
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 LoginActivity extends AppCompatActivity implements GoogleApiClient.OnConnectionFailedListener,View.OnClickListener { | |
private FirebaseAuth mAuth; | |
SignInButton signInButton; | |
GoogleApiClient mGoogleApliClient; | |
private static final int RC_SIGN_IN = 9001; | |
private static final String TAG = "LoginActivity.class"; | |
private Context mContext; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { |
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
content1 |
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
/** | |
* {@link android.support.v7.widget.LinearLayoutManager} which wraps its content. Note that this class will always | |
* wrap the content regardless of {@link android.support.v7.widget.RecyclerView} layout parameters. | |
* <p/> | |
* Now it's impossible to run add/remove animations with child views which have arbitrary dimensions (height for | |
* VERTICAL orientation and width for HORIZONTAL). However if child views have fixed dimensions | |
* {@link #setChildSize(int)} method might be used to let the layout manager know how big they are going to be. | |
* If animations are not used at all then a normal measuring procedure will run and child views will be measured during | |
* the measure pass. | |
*/ |