Questions tagged [droidparts]

DroidParts is a dependency injection, object-relational mapping, JSON, REST... framework developed specially for Android.

DroidParts is a carefully crafted Android framework that includes:

  • DI - dependency injection for Views, resources, etc.
  • SQLite object-relational mapping.
  • JSON (de)serialization.
  • Improved AsyncTasks with Exceptions, progress & result reporting.
  • Better logger (log any object without a tag).
  • RESTClient for GETting, PUTting, POSTing, DELETing & InputStream-getting, also speaks JSON.
  • ImageFetcher to asynchronously attach images to ImageViews, with caching, cross-fade & transformation support.
  • Numerous Utils.
  • Support for Fragments: native, support-v4 and ActionBarSherlock-backed.

http://droidparts.org | https://github.com/yanchenko/droidparts

16 questions
60
votes
3 answers

Green DAO vs ORM lite vs Active Android

Which is the best ORM tool available for Android? I am seeing ORMlite and ActiveAndroid are the most discussed across and a friend of mine suggested me to use GreenDAO. So looking for some knowledge resource which can help me in Decision…
Ravi G
  • 859
  • 1
  • 8
  • 21
8
votes
3 answers

ClearableEditText - requestLayout() improperly called on Android 4.3

I implemented ClearableEdittext and it works perfectly except on 4.3 where the logcat floods me with: W/View(16611): requestLayout() improperly called by com.[myPackage].ui.widgets.ClearableEditText{42233dd0 VFED..CL .F....ID 0,0-708,88 #7f050127…
androidu
  • 4,678
  • 6
  • 36
  • 51
2
votes
1 answer

Can't use Droidparts' ClearableEditText

I'm trying to use ClearableEditText as stated in the Droidparts official doc : But the component is not…
Louis
  • 1,913
  • 2
  • 28
  • 41
1
vote
1 answer

Droidparts: how to make real DB transactions?

Droidparts library has helper-method for execute serial statements in one transaction: executeStatements(SQLiteDatabase db, ArrayList statements) But in real life some intermediate inspection can be occur such as: if(some_check =…
Valery Kulikov
  • 319
  • 1
  • 12
1
vote
1 answer

Droidparts: how to get to autocreated column names in m2m table?

community. I am just start to use droidparts. As I got it is cool library. But it has poor documentation, and no comments in code itself. I am interested in getting elegant approach to use it. Well suppose, i've created tables items, users,…
Valery Kulikov
  • 319
  • 1
  • 12
1
vote
1 answer

How to increase left padding in Droidparts ClearableEditText

Is there a way to increase the padding in XML code to the left so that the user can comfortably move the cursor at the end of a very long sentence?
terencey
  • 3,282
  • 4
  • 32
  • 40
1
vote
1 answer

Recycling issues in ArrayAdapter using ImageFetcher

I'm currently using (or at least attempting to use) Droidparts ImageFetcher in my application. There is sample code available showing how it works with CursorAdapter but I haven't been able to understand all of it and replicate it with my…
masha
  • 316
  • 3
  • 9
1
vote
0 answers

DroidParts Injection

When you start DependencyProvider it runs many times, show its in logcat: Injector.inject():107 Caused by: java.lang.reflect.InvocationTargetException java.lang.RuntimeException: No valid DependencyProvider method for…
claudsan
  • 195
  • 1
  • 2
  • 8
1
vote
0 answers

Android: DroidParts - ClearableEditText - clear button on one line

I am using the DroidParts library for Clearable EditTexts (http://droidparts.org/widgets.html#clearableedittext). The question is how to keep the cross/clear button on the first line. I have no idea where to start looking so any help would be…
user2442638
1
vote
1 answer

Simple where in Droidparts?

How to make a simple sql where in another field that is not the primary key, it uses the method where the class manager? does anyone know? Not found in the documentation (http://droidparts.org) official as still under construction! Thanks all!
claudsan
  • 195
  • 1
  • 2
  • 8
1
vote
1 answer

Droidparts InjectView not working

I'm trying to use droidParts, specifically the DI part. I'm testing 2 injections, InjectResource and InjectView, but the second one doesn;t seem to be working. I have a simple default layout with a textView:
Malthan
  • 7,005
  • 3
  • 20
  • 22
0
votes
1 answer

Complex WHERE-clause in Droidparts doesn't work

I need complex WHERE clause. final Where where1 = new Where("col_1", Is.IN, "1, 2, 3"); final Where where2 = new Where("col_2", Is.IN, "a, b, c"); final Where where = where1.and(where2); but in result i got SELECT on table 'table', selection:…
Valery Kulikov
  • 319
  • 1
  • 12
0
votes
1 answer

Droidparts Switch ClearableEditText X Clear Button to the left

Is is it possible to modify the layout position of the drawable X mark clear button? what was the property to be assign for ClearableEditText to switch the Clear button position to the Left..?
DreamBigAlvin
  • 884
  • 3
  • 13
  • 35
0
votes
1 answer

EventBus.clearStickyEvents is not "static"?

I`m use EventBus.postEventSticky to post message for close all activities,but it will close quickly when restart the app, i think the pre message is exist, so i want to clear the message, but the method EventBus.clearStickyEvents is not "static",…
0
votes
1 answer

Changing DroidParts ClearableEditText icon

Could you give a tip, how to change clear icon to icon from Holo theme? Thanks.
dexxtr
  • 478
  • 1
  • 5
  • 8
1
2