With this tutorial I wanted to share with you how to configure your Java project and it’s hibernate configuration file hibernate.cfg.xml to use a more professional and production ready connection pool provider C3P0. Hibernate’s internal connection pooling algorithm is rudimentary, and is provided for development and testing purposes. In my earlier blog posts I used…

Read More Configure Hibernate to Use C3P0 Connection Pool

In this Kotlin code example we will learn how to create DatePicker in Kotlin programmatically. To break it in more details the code example below will cover:  Create DatePicker in LinearLayout Initialize DatePicker with current date( Year, Month and Day) When user changes the DatePicker values, call OnDateChangeListener and get input from the DatePicker Set DatePicker values…

Read More Create DatePicker in Kotlin

Hi! With this blog post I want to share with you some more video tutorials on Xcode Tips and Tricks!  If you have not yet watched the videos in my previous…

The post Xcode Tips and Tricks to Work with Layout Constraints and Views appeared first on Swift Developer Blog.

Read More Xcode Tips and Tricks to Work with Layout Constraints and Views

In this Kotlin code example we will learn how to create ImageView in Kotlin programmatically. The code example below will cover:  Create ImageView in a ConstraintLayout Load picture from a resource and add it to the ImageView For this example to work and to actually load an image, you will need to add at least…

Read More Create ImageView in Kotlin