Skip to content
This repository was archived by the owner on Dec 1, 2017. It is now read-only.

update gradle #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
classpath 'com.android.tools.build:gradle:1.0.1'
}
}

@@ -13,7 +13,7 @@ allprojects {
}
}

apply plugin: 'android'
apply plugin: 'com.android.application'

android {
compileSdkVersion 19
@@ -29,7 +29,7 @@ android {

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:support-v4:21.0.+'
compile 'com.android.support:support-v4:21.0.3'
compile 'com.squareup.picasso:picasso:2.2.0'
compile 'org.lucasr.smoothie:smoothie:0.1.0'
}
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container,
public void onViewCreated(View view, Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);

TweetsListView list = (TweetsListView) getView().findViewById(R.id.list);
TweetsListView list = (TweetsListView) view.findViewById(R.id.list);
int presenterId = getArguments().getInt(ARG_PRESENTER_ID);
list.setPresenter(presenterId);
}