amigold / fundapter Goto Github PK
View Code? Open in Web Editor NEWSimplify Adapter creation for your Android ListViews.
Home Page: http://amigold.github.io/FunDapter/
License: MIT License
Simplify Adapter creation for your Android ListViews.
Home Page: http://amigold.github.io/FunDapter/
License: MIT License
In the "MyExpandableActivity" of your "Sample", there is a "com.ami.fundapter.ChildExtractor" can't be resolved. Did you forget to commit it ?
Of course, I've already checked the package "com.ami.fundapter" in the "library" project.
My library is the version you commit at Sep 16, 2013.
Thanks for your awesome work.
Hi,
can you help me how to find a certain item's textView. For example I have a listView with some items and every item is made of 3 textViews (name, price, description). Now i want to change the value of the "price" textView with and updateView(int index) method. How do I identify the correct textView in the correct item?
Let's say i have 5 items (product1, ..., product5).
now i want to update the price of the 3rd product (product3).
I call updateView(3)
My updateView(int index) method so far
private void updateView(int index){
// thats how I get the row
View v = lvProduct.getChildAt(index);
// here I want to find the tvPrice in that row
// but I'm not sure how to go about this
}
Can you provide me with an example of addProgressBarField? Please
What about GridView with FunDapter ?
Implement support for GridView or is it already supported ?
Hello Friend, i made this program to fetch data from Mysql database now i want to access the value of (**item.praveen)**object from which we fetch data from server. please tell me how to get the value of that object and use where i want.
public void getuserType(){
String URL3 = "http://xyz/xyz/xyzs.php?user_id="+userName;
PostResponseAsyncTask readData3 = new PostResponseAsyncTask(this,
new AsyncResponse() {
@OverRide
public void processFinish(String u) {
if (u.contains("Fail")) {
Toast.makeText(newAdd.this, "Something went wrong sorry", Toast.LENGTH_SHORT).show();
} else {
task3(ctx,u);
}
}
});
readData3.execute(URL3);
}
public void task3(Context ctx,String u) {
userd = new JsonConverter<userId>().toArrayList(u, userId.class);
BindDictionary<userId> allReviews = new BindDictionary<userId>();
allReviews.addStringField(R.id.tvUserId,
new StringExtractor<userId>() {
@Override
public String getStringValue(userId item, int position) {
///userValue.setText(item.praveen);
**return item.praveen;**
}
});
FunDapter<userId> detailsAdapter = new FunDapter<>(newAdd.this, userd, R.layout.userid_single, allReviews);
grid.setAdapter(detailsAdapter);
}
How to add a click listener for a String Field in my list?
hi
i am using fundapter and show j son data in list view now i want to put a edit text and filter list view by inserting a text by user the method adapter.getfilter().filter () does not work for me
i will appreciate if you help me what to do
how to hide any view from listview. kindly help me regarding this issue if any one knows the solution. otherwise suggest another way to set id and status of every list item. thank you.....
MyExpandableActivity imports "com.ami.fundapter.ChildExtractor",
this should be "com.ami.fundapter.extractors.ChildExtractor".
Also support-v4 is missing in the libs folder
Hi,
I'm currently using FunDapter in a project, but I think I found a bug, and it's when I have a button and try to setOnItemClickListener, the clickEvent it's not being registered. Why is this happening?
In the java build path lib-fundapter.jar is referenced as an Android dependencies. Is there a jar file I need to download to use the library ?
It would be great if different list_item layouts can be specified for the same listview or any other view.
you can export the android library as a jar file
I have a question. I was looking to add an image from my res/drawable folder and not from url so i found this method addStaticImageField() but i dont know how to use it and there is no documentation or example on how it is used properly. Anything i could've missed?
Error:Module 'com.github.amigold.fundapter2:library:1.01' depends on one or more Android Libraries but is a jar
Hi Ami,
I used your library and found out that you used the ic_launcher icon as well. It wouldn't compile, unless I did a change with the icon or add xmlns:tools="http://schemas.android.com/tools" and tools:replace="android:icon". I made a blog about yours at http://www.kosalgeek.com/2015/09/fundapter-generic-adapter-custom-listview.html. Hope you fix it.
In the FunDapter constructor, do the dataItems need to be of type ArrayList? Could it be weakened to List?
Is there a way to manipulate the view inside BindDictionary()?
Or how can I add an click event for a image view for instance? Can I do this inside BindDictionary function?
Hello! Can i get view from BindDictionary, for example there is visibilityIfNull, that can make my view invisible, but is there some mechanism, that in case that Integer is less than some threshold, i can make the TextView( with the integer number) red for example.
Try to import and I get this error:
Error:Module version com.github.amigold.fundapter:library:1.01 depends on libraries but is not a library itself
Already added the support library.
Could you push all the latest commits up to maven central in a new version?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.