I have dynamically created a warning dialog in the fragment. It has an edit text and a button. My problem is that when the user is focused on editing the text, the keyboard opens, it hides Dialog b
Month: October 2021
WebService
I need to use it in recent projects For the knowledge of WebService, I found relevant information on the Internet and sorted it out.
1. Preface
Everyone has heard of WebService (Web Ser
Android – package aar steps and the most critical precautions!
### Introduction Recently, due to the requirements of the project, the developed modules need to be packaged into aar for other projects to call. After working for a period of time, I found that th
Ruby-on-rails – Storage Data in a dynamic form
I’m working on a dynamic form generator. Someone can create the following fields: string, text, boolean, number, file, etc.
Does it exist? A gem or guide for storing data from such dynamic fo
How to create your own components in VB.NET?
How to make a component that resides in the component tray like a Timer? This way you can put them in the toolbox, but they are not visible on the form. Hope this is possible. You only need to c
Ruby-on-rails – SQL query with groups can run on SQLITE, not running on PostgreSQL
The following query is suitable for local but not for production: (production is heroku is running postgreSQL, local I am running sqllite database)
ruby p>
Tutor.joins(:expertises).wh
Ruby-on-rails – Confused AutoLoad_paths and Eager_Load_paths in Rails 4
I read a post about rails load_paths, here is the link.
However, I am still confused about the difference between autoload_paths and eager_load_paths :
I tested them in a newly created
Ruby generates a two-dimensional code using RQRCODE
Reference: https://github.com/whomwah/rqrcode
1. gem’rqrcode’
2. In the helper:
3, views page 3. p> <%= image_tag generate_qr_code('http://baidu.com')%>
Ruby-on-rails – Rails 3 prints the HTML tag to the screen instead of rendering them
I am using the active_scaffold branch of vhochstein, and it runs very well on rails 3, except for some minor errors – http://github.com/vhochstein/active_scaffold. < /p> In rails 2.3, the following
Ruby – How to generate an activity record model from a database
I am looking for a tool or method that can convert my huge old database into active record model definitions…like reverse engineering… This is not a reverse engineering problem, it is more l