1
0
mirror of https://github.com/stonega/tsacdop synced 2024-12-15 09:57:19 +01:00
tsacdop-podcast-app-android/lib/class/importompl.dart
stonegate f195d62b07 deleted: .vscode/launch.json
deleted:    .vscode/settings.json
	modified:   android/app/src/main/res/drawable/launch_background.xml
	modified:   android/app/src/main/res/drawable/launch_background_night.xml
	deleted:    android/app/src/main/res/drawable/normal_background.xml
	modified:   android/app/src/main/res/values/styles.xml
	modified:   lib/class/audiostate.dart
	modified:   lib/class/importompl.dart
	modified:   lib/class/podcast_group.dart
	modified:   lib/home/appbar/about.dart
	modified:   lib/home/appbar/addpodcast.dart
	modified:   lib/home/appbar/popupmenu.dart
	modified:   lib/home/audioplayer.dart
	modified:   lib/home/home.dart
	modified:   lib/home/homescroll.dart
	modified:   lib/local_storage/key_value_storage.dart
	modified:   lib/local_storage/sqflite_localpodcast.dart
	modified:   lib/main.dart
	modified:   lib/podcasts/podcastgroup.dart
	modified:   lib/podcasts/podcastlist.dart
	modified:   lib/podcasts/podcastmanage.dart
	deleted:    pubspec.lock
	modified:   pubspec.yaml
	android/app/src/main/res/mipmap-hdpi/text_light.png
	android/app/src/main/res/mipmap-mdpi/text_light.png
	android/app/src/main/res/mipmap-xhdpi/text_light.png
	android/app/src/main/res/mipmap-xxhdpi/text_light.png
	android/app/src/main/res/mipmap-xxxhdpi/text_light.png
	android/app/src/main/res/values/colors.xml
	assets/listennotes_light.png
	assets/text_light.png
2020-03-04 00:04:23 +08:00

24 lines
512 B
Dart

import 'package:flutter/foundation.dart';
enum ImportState{start, import, parse, complete, stop, error}
class ImportOmpl extends ChangeNotifier{
ImportState _importState = ImportState.stop;
String _rssTitle;
String get rsstitle => _rssTitle;
set rssTitle(String title){
_rssTitle = title;
notifyListeners();
}
ImportState get importState => _importState;
set importState(ImportState state){
if(_importState != state)
{_importState = state;
notifyListeners();
}
}
}