mirror of https://github.com/tasks/tasks
Added a prefrence to control how aggressive the fragment pager is with preloading task lists
parent
978aa11fd1
commit
529bb2fcba
@ -0,0 +1,21 @@
|
||||
package com.todoroo.astrid.core;
|
||||
|
||||
import android.preference.Preference;
|
||||
|
||||
import com.timsu.astrid.R;
|
||||
import com.todoroo.andlib.utility.TodorooPreferenceActivity;
|
||||
|
||||
public class PerformancePreferences extends TodorooPreferenceActivity {
|
||||
|
||||
@Override
|
||||
public int getPreferenceResource() {
|
||||
return R.xml.preferences_performance;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updatePreferences(Preference preference, Object value) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:title="@string/EPr_performance_header">
|
||||
<ListPreference
|
||||
android:key="@string/p_swipe_lists_performance_key"
|
||||
android:title="@string/EPr_swipe_lists_performance_title"
|
||||
android:entries="@array/EPr_swipe_lists_performance_mode"
|
||||
android:entryValues="@array/EPr_swipe_lists_performance_mode_values"
|
||||
android:summary="@string/EPr_swipe_lists_performance_subtitle" />
|
||||
</PreferenceScreen>
|
Loading…
Reference in New Issue