updated gradle dependencies

removed local libraries
This commit is contained in:
NudeDude 2018-08-13 13:56:57 +02:00
parent 307ba2d961
commit 71cf09aa69
11 changed files with 10 additions and 9 deletions

View File

@ -25,7 +25,7 @@
</value>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">

View File

@ -27,10 +27,10 @@ android {
}
dependencies {
implementation files('libs/colorpicker.aar')
implementation files('libs/picasso-2.5.2.jar')
implementation files('libs/twitter4j-core-4.0.6.jar')
implementation files('libs/twitter4j-core-4.0.6-sources.jar')
implementation 'org.twitter4j:twitter4j-core:4.0.6'
implementation 'com.github.QuadFlask:colorpicker:0.0.13'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:cardview-v7:27.1.1'
implementation 'com.android.support:design:27.1.1'

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -246,7 +246,7 @@ public class ProfileLoader extends AsyncTask<Long,Void,Long> {
connect.findViewById(R.id.followback).setVisibility(View.VISIBLE);
}
if(imgEnabled) {
Picasso.with(connect).load(profileImage+"_bigger").into(profile);
Picasso.get().load(profileImage + "_bigger").into(profile);
profile.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

View File

@ -237,7 +237,7 @@ public class StatusLoader extends AsyncTask<Long, Void, Long> {
tweet_verify.setVisibility(View.VISIBLE);
}
if(toggleImg) {
Picasso.with(ui.get()).load(profile_pb).into(profile_img);
Picasso.get().load(profile_pb).into(profile_img);
}
if (medialinks != null && medialinks.length != 0) {
View mediaButton = connect.findViewById(R.id.image_attach);

View File

@ -104,7 +104,7 @@ public class TimelineRecycler extends Adapter<TimelineRecycler.ItemHolder> imple
vh.favorite.setText(favorit);
vh.time.setText(stringTime(tweet.time));
if(img_ldr) {
Picasso.with(parent.getContext()).load(tweet.user.profileImg+"_mini").into(vh.profile);
Picasso.get().load(tweet.user.profileImg + "_mini").into(vh.profile);
}
if(tweet.user.isVerified) {
vh.verify.setVisibility(View.VISIBLE);

View File

@ -75,7 +75,7 @@ public class UserRecycler extends Adapter<UserRecycler.ItemHolder> implements On
vh.screenname.setText(user.screenname);
vh.username.setText(user.username);
if(loadImage) {
Picasso.with(parent.getContext()).load(user.profileImg+"_mini").into(vh.profileImg);
Picasso.get().load(user.profileImg + "_mini").into(vh.profileImg);
}
if(user.isVerified) {
vh.verifyIco.setVisibility(View.VISIBLE);

View File

@ -16,6 +16,7 @@ allprojects {
repositories {
jcenter()
google()
maven { url "https://jitpack.io"}
}
}