본문 바로가기
728x90

분류 전체보기507

Infinite Scroll Firebase https://blog.litedevs.com/infinite-scroll-list-using-flutter-firebase-firestore Infinite Scroll List using Flutter Firebase Firestore. Reading data from firebase is expensive and if there is lot of data, only small portion of it would be visible to user. So why download all of it if we can use pagination method to achieve infinite scroll list. This is our data in Firebase Firestore... blog.lited.. 2022. 1. 30.
Firebase function - 태그 더하기 exports.addDocTag = functions.region("asia-northeast3").firestore .document("/Documents/{documentId}") .onWrite((snap, context) => { const snapshotDescription = snap.data().description; let reg = /@([\S]+)/igm; //regex let tags = (commentData['contents'].match(reg) || []).map(e => e.replace(reg, '$1')); if(tags.length>0){ functions.logger.log("Find tags ", context.params.documentId, tags); retur.. 2022. 1. 27.
Google map clustering 정말 멋진 Googlemap clustering library를 발견했다.. https://pub.dev/packages/google_maps_cluster_manager google_maps_cluster_manager | Flutter Package Simple Flutter clustering library for Google Maps based on Geohash. pub.dev 아래는 multiple group 예시가 있어서 내 맛에 맞게 살짝 변경했는데 너무 마음에 든다..ㅠㅠ import 'dart:async'; import 'dart:ui'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; i.. 2022. 1. 26.
코딩 알고리즘 연습 사이트 https://leetcode.com/ LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 유튜브 영상을 보던 중 좋은 알고리즘 검색 사이트가 있어서 찾아보았다. 2022. 1. 26.
728x90