Skip to content

Commit

Permalink
Remove
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashusolanki committed Feb 22, 2019
1 parent dbf5f21 commit ee7abb6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.ashudevs.twitterurlextractor;

import android.annotation.SuppressLint;
import android.content.Context;
import android.os.AsyncTask;
import android.util.Log;
Expand Down Expand Up @@ -61,9 +62,9 @@ private Long getTweetId(String s) {

private void getTweet(final Long id) {

TwitterApiClient twitterApiClient = TwitterCore.getInstance().getApiClient();
final TwitterApiClient twitterApiClient = TwitterCore.getInstance().getApiClient();
StatusesService statusesService = twitterApiClient.getStatusesService();
Call<Tweet> tweetCall = statusesService.show(id, null, null, null);
final Call<Tweet> tweetCall = statusesService.show(id, null, null, null);
tweetCall.enqueue(new Callback<Tweet>() {
@Override
public void success(Result<Tweet> result) {
Expand Down Expand Up @@ -113,6 +114,7 @@ public void failure(TwitterException exception) {
});
}

@SuppressLint("StaticFieldLeak")
private class loadTwiterFileData extends AsyncTask<Void,Void,TwitterFile>
{
private String url;
Expand Down

0 comments on commit ee7abb6

Please sign in to comment.