728x90 전체 글584 stream cancel 하기 GetXcontroller에서 stream 걸어서 원하는 Firestore document를 감시하곤 한다. 그런데 해당 페이지를 벗어나게 되었을 때 stream을 풀어줘야. 원치 않는 firebase 서버 요청을 줄일 수 있다고 생각한다. 그래서 이번에는 stream을 cancel하는 방법을 알아보고자 한다. 아래와 같은 stackoverflow 답변을 참조하여 문제를 해결하였다. https://stackoverflow.com/questions/44450758/cancel-stream-ondata Cancel stream onData I have an event bus that handles all central events to my app. I have a special case where I ha.. 2022. 1. 23. flutter scroll bottom으로 보내기 채팅 시스템을 구현할 때, 스크롤을 가장 아래로 두고 싶을 때가 있다. 어떻게 하면 편하게 구현할 지 검색했는데.. 역시 해답은 stackoverflow에 있었다! https://stackoverflow.com/questions/47916247/flutter-scroll-to-bottom-of-dynamic-listview Flutter scroll to bottom of Dynamic ListView I have looked and found several solutions but none seem to fit my configuration and need some assistance. I will put all my code here and see if anyone knows where to appl.. 2022. 1. 23. Firebase로 대댓글 설계하기 lightcode.tistory.com/22 게시판 대댓글 설계하기 오늘은 대댓글 게시판을 설계하는 방법에 대해서 정리 해보려고 하는데요. 참고로, UI나 코드를 중심으로 한 글은 아니지만, NoSQL인 Firebase의 Firestore를 사용하였을 때를 기준으로 테스트하고 작 lightcode.tistory.com 2022. 1. 22. Random user Api https://randomuser.me Random User Generator | Home Copyright Notice All randomly generated photos were hand picked from the authorized section of UI Faces. Please visit UI Faces FAQ for more information regarding how you can use these faces. randomuser.me 사람 프로필 이미지 간단하게 주고 싶을 때 쓰는 페이지! 매우매우 쓸만합니다. 2022. 1. 21. 이전 1 ··· 137 138 139 140 141 142 143 ··· 146 다음 728x90