441 questions
1
vote
2
answers
112
views
Programmatically bind values to a CollectionView in .net Maui
I am trying to create a simple CollectionView in Maui programmatically. The ItemSource is just a list of int.
var intValues = new List<int>() { 1, 2, 3, 4, 5, 6 };
var pointsCV = new ...
0
votes
0
answers
91
views
How can I dynamically change the theme of an android splash screen?
I have an android app whith a StartupActivity that serves as a splash screen while preparing the app. I use a special splash theme for that activity:
<activity
android:name=".activity....
0
votes
0
answers
90
views
How to get the memory used by a object variable in VB.NET
I am currently working on a CLOUD based application, where i need to identify the memory utilized by a variable, which has value in it. I need to achieve this programmatically, in VB.Net.
I have a ...
-1
votes
1
answer
66
views
How can I do a CellDoubleClick event on my datagridview that I created programmatically? C#
I created a panel programmatically and inside of that panel is my datagridview which created programmatically too. It's a list of supplier and I want to do a CellDoubleClick event on that datagrdiview ...
1
vote
1
answer
199
views
Toggling an UISwitch Programmatically
I'm trying to toggle an UISwitch through an objc function, however the switch is not recognizing the UITapGestureRecognizer I implemented.
StatusAvailabilityCell
// MARK: - Properties
lazy var ...
2
votes
1
answer
446
views
WPF add Interaction Trigger programmatically in the DataTemplate
I would like to add an interaction trigger as in the xaml example below:
<ComboBox ...>
<i:Interaction.Triggers>
<i:EventTrigger EventName="DropDownClosed">
...
0
votes
1
answer
67
views
Programmatically creating views for Android layout. On back button all EditText controls get the same value
I have a view that I'm creating multiple child views to create a dynamic form. Some will act like a dropdown and some are EditText controls for data entry. However, when the user enters some data, ...
1
vote
3
answers
661
views
ContentView isn't Showing up Inside ScrollView
I'm having trouble getting my ContentView to show up inside my ScrollView and I don't know what I'm doing wrong to make it not visible. In my screenshot down below, the purple view is my ScrollView ...
2
votes
1
answer
631
views
dotnet ef scaffold Unrecognized option '-t firstTable -t secondTable' - pass arguments stored in a string
I have a .ps1 file that I run from PowerShell, the code is as follows:
$strTables = ""
$tables | ForEach-Object{
$strTables += "-t $_ "
}
# $strTables = -t ...
0
votes
0
answers
140
views
Title in button shrinks Swift
I have a button but when I add it to my view the text shrinks... I have no idea what is going on I think I've tried everything. Please help! Thanks!!
This is how I'm creating my button
private lazy ...
0
votes
2
answers
402
views
Perform Segue is not working when I am using programmatic UI
I am creating an app for my personal project using programmaticUI and storyboard for the UI part, but I found an issue when I tried to performSegue from my "SecondViewController" to my "...
1
vote
2
answers
119
views
Cost of Programmatic Access to MQL in Google Cloud
I would like to create MQL queries through Cloud Monitoring API in Google Cloud and analyze let's say 1Million datapoints per month. I can not find any data on how much this will cost me except the $0....
2
votes
2
answers
698
views
Creating a function programmatically
There are lots of interesting posts on this subject, but I seem to either not understand their answers, or aiming for something different. Here is what I am trying to do. I have two (or more) ...
1
vote
1
answer
31
views
Why my 2D UIViews don't appear on screen?
I'm trying to make UIView that contains 12x7 UIViews with margins. I thought that the best way gonna be make 7 Vertical Stacks and then add all them on one big Horizontal stack. And I coded it, but ...
0
votes
1
answer
88
views
How to close programmatically a layout made programmatically
I created a ScrollView programmatically
private fun showSpinner() {
/* SCROllL VIEW */
var linearLayout: LinearLayout? = null
linearLayout = findViewById(R.id.linear1)
val ...
1
vote
1
answer
45
views
How to set properly UISegmentedController and imageView programmatically?
I'm trying to create UISegmentedController and imageView programmatically. ImageView should be placed right under UISegmentedController, but it overlaps UISegmentedController. Could you please say ...
0
votes
2
answers
530
views
MaterialCardView not showing when added programmatically
I am not able to see MaterialViewCard at my Activity when adding programmatically. If I add directly on XML, it shows. But When adding via Kotling, it doesn't.
XML sample:
<?xml version="1.0&...
0
votes
2
answers
690
views
Error with programmatically created pages: "[gatsby-plugin-image] Missing image prop"
I'm creating pages programmatically in Gatsby from MD files. I'm using <GatsbyImage> from gatsby-plugin-image to pull the image from the frontmatter of said MD file, but when the page loads the ...
0
votes
1
answer
64
views
Why does InAppSettingsKit override my TabBarItemTitle?
i am using InAppSettingsKit pod in my iOS app, developed without storyboard.
I have a MainTabBarController where I initialize my ViewControllers. Everything works fine, BUT when I start the App in ...
0
votes
0
answers
222
views
Swift TextField built programmatically not sized to fit screen width?
I have programmatically defined a textField to stretch across the width of the screen (less 50 points as a "margin" on each side via constraints. The left (leading) side works fine but the ...
0
votes
1
answer
495
views
How to set a distance between placeHolder / user text and left border in UITextField
I have a design project, where the distance between placeholder and the left border is 16. That is like it should be:
but I can't find a property to set it on 16 points, as a result I have this: But ...
1
vote
1
answer
569
views
Safari ignoring inline styles for keyframe animations
When setting @keyframes using CSS transform in Safari (desktop and iOS) with just an end frame, and then updating the starting transform position programmatically (inline via JS), Safari appears to ...
0
votes
1
answer
250
views
How to hide the navigation bar as scroll down, when constraints are programmatically?
I'm doing all my UI programatically, to avoid a massive view controller I have a class of type UIView where I'm declaring all my UI elements.
I'm declaring my scrollView like this:
class ...
1
vote
1
answer
1k
views
Programmatically added TextInputLayout not showing the Outline Box
Adding TextInputLayout with TextInputEditText Programmatically not showing the Outline Box
I want to display some editable fields in a fragment. If I use the below xml then my fragment displayed ...
0
votes
0
answers
692
views
Download .apk from Url and install apk
I am fetching the problem where when the user open the application and when new version is available for the application. I want to redirect to that url. The url which i am redirect is not on the Play ...