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 8745923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:06:50+00:00 2026-06-13T12:06:50+00:00

Help please! In my application I use Android-UiTableView ( thiagolocatelli / android-uitableview ) and

  • 0

Help please!

In my application I use Android-UiTableView ( thiagolocatelli / android-uitableview ) and AQuery ( androidquery / androidquery )

My task is to make the loading of data from json array and load image from URL.
Load a list without pictures I was able to:

jgall = json.getJSONArray("gall");                  
int z = 0;
  for(int i = 0; i < jgall.length(); i++){
      JSONObject c = jgall.getJSONObject(i);
      tableView.addBasicItem(c.getString("name"), c.getString("place"));
  }

I try to show a customized view and nothing happens

LayoutInflater mInflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);
RelativeLayout view      = (RelativeLayout) mInflater.inflate(R.layout.custom_view,null); 
String iurl              = c.getString("img");
aq.id(R.id.img).image(iurl, false, true);                       
ViewItem viewItem        = new ViewItem(view);
tableView.addViewItem(viewItem);

Tell me it’s real to make using Android-UiTableView? if so! how?

  • 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-13T12:06:51+00:00Added an answer on June 13, 2026 at 12:06 pm

    I have done this by modifying the library code myself.

    I have added the following constructor at UITableView.java:

    public void addBasicItem(Drawable drawable, String title, String summary) {
        mItemList.add(new BasicItem(drawable, title, summary));
    }
    

    And the following at BasicItem.java:

    public Drawable getDDrawable() {
        return dDrawable;
    }
    
    public BasicItem(Drawable ddrawable, String _title, String _subtitle) {
        this.dDrawable = ddrawable;
        this.mTitle = _title;
        this.mSubtitle = _subtitle;
    }
    

    And once again modified the setupBasicItem method at UITableView.java file:

    ((ImageView) view.findViewById(R.id.image)).setBackgroundDrawable(item.getDDrawable());
    

    Finally, at your code add the following:

    URL newurl = new URL("http://www.example.com/example.png"); 
    Bitmap bmp = BitmapFactory.decodeStream(newurl.openConnection() .getInputStream());
    Drawable drawable = new android.graphics.drawable.BitmapDrawable(getResources(),bmp);
    
    tableView.addBasicItem(drawable, "Title", "SubTitle");
    

    Hope it helps, cause it works for me.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my Java android application I use a listview to display information loading from
I make a application. whose download data from server. it's work proper on device.
I use the following send mail application in android from Sending Email in Android
I am having the tesseract-android-tools 1.00, please help me to use the interface TessBaseAPI.
Help me please. I make client for android for github.com api v3 and i
I would like to use new custom fonts in an android application. please be
i need help.. i'm trying to call php webservices from my android client application
Please help me about this issue... In my application i have calender where user
Please help me to clear my doubt. I develop an application that performs uninstall
I have a small application which doesn't seem to work. Please help. Server: var

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.