Skip to content
Tejsumeru

Thoughts Become Reality

  • Tutorials
  • Video Tutorial
  • Tutorials
  • Video Tutorial
  • Error Solving

    If I use simple adapter to feed the listview and the listview contains textview and button so how can I perform operation on specific position?

    December 25, 2019 - By tejsumeru.12@gmail.com

    I face this difficulty. In my case when i click on textview which is part of list-view’s custom XML file then the position is right, but when i click on the button which is the part of list-view’s custom XML file then it always gives first position. After i have to decided to perform automatic onItemClick and store all the values of clicked position into another declared variable which is below. See the image i used kotlin language instead of java. I stored all the map values into another variable which is declared above with public access specifier. [Now when i perform operation on Button click i…

    Continue Reading

Categories

  • AI
  • Android With Java
  • Android With Kotlin
  • C language
  • C++ Language
  • Computer Vision
  • Data Structure
  • Design
  • Error Solving
  • Flutter
  • Go Lang
  • Interview Quetions
  • Java
  • Javascript
  • Kotlin
  • Machine Learning
  • MATLAB
  • PHP
  • Python
  • SciPy
  • Technology
  • Tutorials
  • Uncategorized
  • Wordpress
Graceful Theme by Optima Themes