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
/** | |
* Created by harsu on 22-06-2016. | |
* <p> | |
* This class reduces the BoilerPlate code for Implementing Facebook Login by providing an easy to access class and functions. | |
* <p> | |
* 1. Create an instance of the class in your Sign in activity. | |
* 2. Set a View whose onClick would Invoke Facebook Sign In Procedure along with the request params using {@link #setLoginView(View, Activity, Collection)} | |
* or {@link #setLoginView(View, Fragment, Collection)} | |
* 3. call the {@link #onActivityResult(int, int, Intent)} in your sign In activity's onActivityResult(). | |
* 4. store the data by implementing your logic in {@link #storeData(Map)} |
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
/* | |
* Copyright (C) 2014 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 |