Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8022921
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:24:33+00:00 2026-06-04T22:24:33+00:00

I am currently using the custom layout for the child in Expandablelist which includes

  • 0

I am currently using the custom layout for the child in Expandablelist which includes 2 different text views and an imageview. Also it will always have 1 child everytime. I am able to get the clicklistener in the adapter but not able to get this in the activity.

I have also tried to get the click listener event in the onChildClick() method but it was not working.

I am using this adapter in different activities so i want to have the click listener for one of the text view in the activity itself.

Any suggestions please.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T22:24:35+00:00Added an answer on June 4, 2026 at 10:24 pm

    I am able to get this done guys, i added android:onClick="textClickHandler"> in the layout file and included the listener as below in my activity:

    public void textClickHandler(View view){
    
            if(view.getId() == R.id.textMore){
                Toast.makeText(mContext, "More Text Clicked.", Toast.LENGTH_LONG).show();
            }
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently writing an custom control which has to hold child control and have
I am currently ordering a list of custom objects using the IQueryable OrderBy method
I want to add traffic information to my custom map. Currently I'm using a
I'm currently developing a form on salesforce.com using an apex form with a custom
I am using wordpress latest version. Currently my blog is set to custom permalink
I'm currently having an issue with using custom ListView adapters with the Holo.Light theme.
I am currently making an app that will have multiple timers, which are basically
I'm currently experimenting with using Portlets in layout templates for Liferay 6.0.5, and I'm
I'm using a custom notification layout in my app. It works fine in all
Background : I am currently using custom controls within my C# project (basic controls

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.