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
<!doctype> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<fb:login-button data-scope="public_profile,email" onlogin="checkLoginState();" data-size="large"></fb:login-button> | |
<div id="status"></div> |
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
int gridColumns = 4; | |
int visibleThreshold = 3; | |
int limit = 40 | |
myObject apiResourceList = Constants.API_URL + "pokemon/?limit=" + limit; | |
. | |
. | |
. | |
RecyclerView.OnScrollListener paginationScrollListener = new RecyclerView.OnScrollListener() { | |
int gridSpan, pastVisibleItems, lastVisibleItem, visibleItemCount, totalItemCount; |
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
... more global variables | |
FragmentManager manager = getSupportFragmentManager(); | |
FragmentTransaction transaction = manager.beginTransaction(); | |
@Override | |
protected void onCreate(@Nullable Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
//always first | |
//fb | |
FacebookSdk.sdkInitialize(getApplicationContext()); |
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
public class About { | |
private String titulo; | |
private String subtitulo; | |
public About(String titulo, String subtitulo) { | |
this.titulo = titulo; | |
this.subtitulo = subtitulo; | |
} |