kotterknife icon indicating copy to clipboard operation
kotterknife copied to clipboard

View "injection" library for Android.

Results 17 kotterknife issues
Sort by recently updated
recently updated
newest added

Updated @MichaelRocks approach for the newest kotterknife version #5

Try to solve the NPE in onCreateView method of Fragments

It would be nice to be able to do something like this: ``` kotlin class Sample : KotterKnifeTarget { override val rootView = something val textView = bindView(R.id.foo) /* finds...

Imagine, we have an abstract base view-class: ` ``` abstract class CollectionFragment { protected val emptyView: View by bindView(R.id.empty_view) override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { ......

I've viewpager with 5 fragments one of the fragment has recyclerView private val recyclerView : RecyclerView by bindView(R.id.list) It works find once it first appears but one I move to...

A little less code to set up view onClick listener

**Point 1** Kotterknife behaves in a way that if `DialogFragment.getDialog() != null`, it will use `getDialog().findViewById()` or if a `getDialog() == null` it will attempt `getView().findViewById()` The FragmentManager calls `getLayoutInflater`...

Hi Jake, Yesterday you updated kotterknife. For some reason we got Unresolved reference: bindView. We tried exclude groups for kotlin and support libs(we still using 25.4.0), but problem was still...

in an app I'm slowly moving over to kotlin in Build.gradle I add in: ``` kapt 'com.jakewharton:butterknife-compiler:8.5.1' compile 'com.jakewharton:butterknife:8.5.1' compile 'com.jakewharton:kotterknife:0.1.0-SNAPSHOT' ``` When I Build it fails with: ``` Error:Error...