reducing warnings and errors

This commit is contained in:
Kevin Meyer 2014-08-20 13:55:00 +02:00
parent 101b3caa32
commit 99dff4452f
4 changed files with 3 additions and 5 deletions

View File

@ -79,9 +79,6 @@
</content> </content>
<orderEntry type="jdk" jdkName="Android API 20 Platform" jdkType="Android SDK" /> <orderEntry type="jdk" jdkName="Android API 20 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" exported="" name="appcompat-v7-20.0.0" level="project" />
<orderEntry type="library" exported="" name="support-annotations-20.0.0" level="project" />
<orderEntry type="library" exported="" name="support-v4-20.0.0" level="project" />
</component> </component>
</module> </module>

View File

@ -20,5 +20,5 @@ android {
} }
dependencies { dependencies {
compile 'com.android.support:appcompat-v7:20.0.0' // compile 'com.android.support:appcompat-v7:20.0.0'
} }

View File

@ -9,6 +9,7 @@ import static fr.gaulupeau.apps.Poche.ArticlesSQLiteOpenHelper.ARTICLE_TABLE;
import static fr.gaulupeau.apps.Poche.ArticlesSQLiteOpenHelper.ARTICLE_AUTHOR; import static fr.gaulupeau.apps.Poche.ArticlesSQLiteOpenHelper.ARTICLE_AUTHOR;
import static fr.gaulupeau.apps.Poche.ArticlesSQLiteOpenHelper.MY_ID; import static fr.gaulupeau.apps.Poche.ArticlesSQLiteOpenHelper.MY_ID;
import android.annotation.TargetApi;
import android.app.Activity; import android.app.Activity;
import android.content.ContentValues; import android.content.ContentValues;
import android.content.Context; import android.content.Context;

View File

@ -39,7 +39,7 @@ public class ReadingListAdapter extends BaseAdapter {
if (convertView == null) { if (convertView == null) {
LayoutInflater inflater = (LayoutInflater) context LayoutInflater inflater = (LayoutInflater) context
.getSystemService(Context.LAYOUT_INFLATER_SERVICE); .getSystemService(Context.LAYOUT_INFLATER_SERVICE);
convertView = inflater.inflate(R.layout.article_list, null); convertView = inflater.inflate(R.layout.article_list, parent, false);
} }
TextView tvTitle = (TextView) convertView.findViewById(R.id.listitem_titre); TextView tvTitle = (TextView) convertView.findViewById(R.id.listitem_titre);
//Log.e("title", entry.title); //Log.e("title", entry.title);