Replace FindViewByID with ViewBinding in Java on Android

In the gradle.build file for the module, add following code and Sync: buildFeatures { viewBinding true } Above automatically generates binding objects for every layout when the plugin is synced. For activity_main.xml, it will generate ActivityMainBinding class. In MainActivity.java, use inflate method on ActivityMainBinding in onCreate method as shown below: ActivityMainBinding bindMain; bindMain = ActivityMainBinding.inflate(getLayoutInflater()); … Continue reading Replace FindViewByID with ViewBinding in Java on Android

Eclipse IDE and Python Development

Python is very easy to learn. However, for newbies, you need a code editor that allows you to view code completion. Code completion helps to develop and learn a new computer language rapidly and that is why, Eclipse is one of the most popular Integrated Development Environments (IDE) out there. To develop programs using Python … Continue reading Eclipse IDE and Python Development