mirror of
https://github.com/moparisthebest/android-app
synced 2024-08-13 16:53:46 -04:00
reducing warnings and errors
This commit is contained in:
parent
101b3caa32
commit
99dff4452f
@ -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>
|
||||||
|
|
||||||
|
@ -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'
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user