Even after clicking on Add Support Library and choosing version 19, eclipse still can\'t find android.support.v4.widget.SwipeRefreshLayout. Does anyone know how to get this
For some reason, even though you may include v4 support library
or you may have v7-appcompat
included in your project, you may not be able to import SwipeRefreshLayout
.
You need to make sure that
target=android-19
to target=android-22
(It should be anything greater that 19) and import android.support.v4.widget.SwipeRefreshLayout;
in your activity which will resolve the import related issue.