Back to project page GitHubContributionsApp.
The source code is released under:
GNU General Public License
If you think the Android project GitHubContributionsApp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.githubcardandroidapp.app.GitHubContributionsIO.Profile; /*from www . j av a 2s .c o m*/ import android.os.AsyncTask; import com.githubcardandroidapp.app.BusinessObjects.GitHubProfileDetails; import com.githubcardandroidapp.app.GitHubCardActivity; import com.githubcardandroidapp.app.GitHubContributionsIO.Services.GitHubSyncService; public abstract class GitHubProfileAsyncTask extends AsyncTask<String, GitHubProfileDetails, GitHubProfileDetails> { protected GitHubSyncService gitHubSyncService; public GitHubProfileAsyncTask(GitHubSyncService gitHubSyncService) { this.gitHubSyncService = gitHubSyncService; } @Override protected void onPostExecute(GitHubProfileDetails profileDetails) { if (!this.isCancelled() && profileDetails != null) { this.gitHubSyncService.updateUserProfile(profileDetails); } } }