im obtaining a list o news from an API,im using a ListView.builder to show the data...
the problem comes when i tried to scroll down or up in the list, because previously loaded data is not kept and if i scroll-down to fast the same error happends...
i tried to use in my statefull widget a mixin "AutomaticKeepAliveClientMixin" but does not works.
class _NewsPageState extends State<NewsPage>
with AutomaticKeepAliveClientMixin {
and i tried to change the build method according to another solution proposed here
@override
Widget build(BuildContext context) {
super.build(context);
any solution for this?