Categories
Development

Loading problems with cloud_firestore

i’ve just started learning Flutter and have been developing an app for a school project and i have ran into this problem that when i load into a page for the first time, it won’t load any data from the firestore query, i had to click off that page and click back in in order […]

Categories
Development

How to receive both onTapDown (eagerly) and onDoubleTap?

I’d like to perform some interaction: when an initial touch (onTapDown) happens (e.g. clear existing selections), AND when a double tap happens (onDoubleTap) happens (e.g. highlight a new selection) Using a GestureDetector: if only register a onTapDown, the callback is called immediately at the first touch if I register both onTapDown and onDoubleTap, and the […]

Categories
Development

Display no overalapping texts inside nested circles on fabricjs

I am trying to display text (number in my case) inside of 5 nested circles on fabricjs canvas But because the circles are nested inside each other and the text positions are the same as the circles positions texts are overlapping each other therefore i try to shift the text to the left to a […]

Categories
Development

A way for users to store selections as inputs for later use

I’m trying to create a way in which a user can store their selections as inputs. Here is an example of what I would like to accomplish: 1) Run the app, it will immediately generate a table with three rows. You name it using Sample Label something like “Sample1” 2) Click the Save Sample button, […]

Categories
Development

React Native : Subviews of KeyboardAvoidingView have lag / move at different speeds

I would like them all the subviews to move in one clean motion, but if you look at the gif, you can see that the Text subview and the TextInput subview overlap and move at different speeds. It looks like the Text subview adjusts its position instantly where as the button and TextInput subviews adjust […]

Categories
Development

How to change button text in Ext js

I am new to this Ext js. I am just working on buttons. I created one button which acted as toggle like on/off.In my case it is hide and show.I just shared my code below you can refer.In my code I have just created and hide one circle element initially.I have a button named Make […]

Categories
Development

Consistent size for symbols in ggsave and gganimate’s ‘animate’

My end goal is to create two outputs: 1) A static image showing all of my data, saved as a png 2) An animation of my data, saved as a gif. I’m using ggplot2 and gganimate and I’m puzzled as to why the symbol size is not consistent between the two save methods. I’ve tried […]

Categories
Development Swift

How to scan only certain areas through the camera with Swift5?

I’d like to scan QRcode through the camera. There is no problem scanning QRcode, but I want to scan only certain areas. How can I do this? import Foundation import UIKit import AVFoundation class ScannerViewController : UIViewController, AVCaptureMetadataOutputObjectsDelegate { @IBOutlet weak var qrcodeView: UIView! @IBOutlet weak var mainText: UITextView! @IBOutlet weak var headerBar: UINavigationBar! var […]

Categories
Development Google Java Javascript jQuery JSON MySQL Plugins

How to send Json Object from view function to javascript

flask function view from adding users and displaying the records in Json, I dont know how to send json data to my Javascript file through url, I have been trying to find the solution for over a week but find no luck. Hope I will get some help here. @guests.route(‘/’, methods=[‘GET’,’POST’]) def add_guests(): form = […]

Categories
Development Swift

how to customize camera view in swift5?

I want to reconfigure the cameraScreen to the one I want. Currently I have no buttons except the cameraScreen. Of course, this completes QRcode recognition successfully. But I want to add NavigationHeaders and Text and Button in cameraScreen. How can you solve this problem? current cameraScreen code import Foundation import UIKit import AVFoundation class QRViewController […]